# Build Models

### Building Models Guide

Before starting to read this guide, it is recommended for you to read the[ Notebook Section](https://computationaldocs.zeblok.com/zeblok-computational-1/ai-api/notebooks) of the Ai-API Concept.

After creating a newly trained model, comes the building stage.

For building process, the steps are as following:

* Open the integrated terminal that comes along with the notebook.

![Figure 1: Click on New Launcher](/files/-MfWMGJAB325Cp64dc16)

![Figure 2: Integrated Terminal](/files/-MfWMZgjoHm-MK3k6l_r)

* Update the Cli ( Command Line Interface) for smooth process running.

```
npm i -g zbl-cli
```

![Figure 3: CLI Update](/files/-MfWRjMuXXpNpBhkSEpF)

* Configure your zeblok cli

```
zeblok configure
```

![Figure: Zeblok Configure](/files/-MgQa2o3D-4_8bAj5I-9)

* Run the command **zeblok auth** and enter your username and password&#x20;

```
zeblok auth
```

![Figure 4: Authentication Command](/files/-MfWN3xODmMbP72Yqyjb)

* After successful authentication, run the command **zeblok runtime** which fetch the latest created by you and give a list of the models from which you can select the model you would like to deploy.

```
zeblok runtime
```

* Select the model and hit enter. The terminal will package your model and upload it to the database. This might take a minute or two.

![Figure 5: Model Selection (Runtime Command)](/files/-MfWPdAiplA8X05Olsf-)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://computationaldocs.zeblok.com/info/1.2.6/ai-api-engine/build-models.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
