> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/data-science-lab-2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/data-science-lab-2/project/tabs-for-a-data-science-lab-project/tabs-for-tensorflow-and-pytorch-environment/model/register-a-model-as-an-api-service/register-a-model-as-an-api.md).

# Register a Model as an API

The user can publish a DSL model as an API using the Model tab. Only the published models get this option.

* Navigate to the ***Model*** tab.
* Filter the model list by using the ***Registered*** filter option.
* Select a model from the list.
* Click the ***Register as API*** option.

<figure><img src="https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FE88lLnW1iuBlVCeLRaAO%2Fimage.png?alt=media&#x26;token=d3d73460-a08f-494e-9f0f-a51e2be5ed9a" alt=""><figcaption><p>Register as API icon under the Model tab</p></figcaption></figure>

* The ***Update model*** page opens.
* Provide Max instance limit.
* Click the ***Save and Register*** option.

<figure><img src="https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FLVgQzfqRDhl4loUw341L%2Fimage.png?alt=media&#x26;token=6bf6ff67-6a16-4ee8-8b89-7a38e9452691" alt=""><figcaption><p>Updating the Model</p></figcaption></figure>

{% hint style="info" %}
*Please Note*: User the ***Save*** option to save the data which can be published later.
{% endhint %}

* The model gets saved and registered as an API service. A notification message appears to inform the same.

<figure><img src="https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FPD9Y0zwaGTa1N31x8ZTy%2Fimage.png?alt=media&#x26;token=2f753907-8c89-45f0-9440-8055596a72d6" alt=""><figcaption><p>Confirmation message after model gets registered as an API service</p></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> Refer the **Data Science Lab Quick Start Flow** page to get an overview of the **Data Science Lab** module in nutshell.* [***Click here***](/data-science-lab-2/data-science-lab-quick-start-flow.md) *to get redirected to the quick start flow page.*
{% endhint %}
