# 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](https://content.gitbook.com/content/1uv6074cgUfxr5s1gsAU/blobs/yiHmfwrXdrSDS0gaRqPN/image.png)

![Figure 2: Integrated Terminal](https://content.gitbook.com/content/1uv6074cgUfxr5s1gsAU/blobs/QdEJZO65BFW280oRYPno/image.png)

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

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

![Figure 3: CLI Update](https://content.gitbook.com/content/1uv6074cgUfxr5s1gsAU/blobs/Hxr856mWhIYFQN76t2ep/image.png)

* Configure your zeblok cli

```
zeblok configure
```

![Figure: Zeblok Configure](https://content.gitbook.com/content/1uv6074cgUfxr5s1gsAU/blobs/khvUsoZEovP61PMCnQO8/image.png)

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

```
zeblok auth
```

![Figure 4: Authentication Command](https://content.gitbook.com/content/1uv6074cgUfxr5s1gsAU/blobs/2VSULox8w8f8QreFYsEn/image.png)

* 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)](https://content.gitbook.com/content/1uv6074cgUfxr5s1gsAU/blobs/frO7I686dQ6s7YDsrX52/image.png)
