# Utility

{% hint style="success" %}
Check out this walk-through on how to import a Utility scrip.
{% endhint %}

![](/files/amt4aRrVSeMNH8XARiqV)

### Importing a Utility Script

* Navigate to the ***Utility*** tab for a Project.
* Click the ***Add Script*** option.

![The Add Script option provided for the Utility tab](/files/eJPJ8eXSK4sU4YAuv6OJ)

* The ***Add utility script*** page opens.
* Provide the following information:
  * Utility Name
  * Utility Description
  * Utility Script
* Click the ***Save*** option.

&#x20;    &#x20;

![The Add Utility Script form to provide the required details](/files/UDe3y37kKQA2O93jcsdp)

* A confirmation message appears.
* The newly created Utility Script gets added to the Utility list.

![The newly imported Utility script lists under the Utility list](/files/ldcCydr0poIPLN45RRZR)

### &#x20;Importing the Utility Script inside a Notebook

* Copy a utility file using the Utility list.
* Navigate to the Notebook tab.

![](/files/wfaPHuMPuRxjzE7E4x1b)

* Create a Notebook or open an existing Notebook.
* Add a ***Code*** ***cell***.
* Write code to import data with specific class.
* Provide the Utility script as the resource to get data.

![](/files/iozC9yObHxPHsdkAh1q2)

* Specify the variables to get the class and get the data in the next code cell.

![](/files/X8aqjYgfGsqmMzFqrMV0)

* Provide print function to see the data.
* Run all the cells.
* You can get the output below.  &#x20;

![](/files/CMnBglbQuRUaHOEw6XKL)

&#x20;


---

# 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://docs.bdb.ai/bdb-documentation/data-science-lab/various-tabs-to-work-with/utility.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.
