# Utility

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

![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FDWTUcxsQIiZ1B1p3p7Cx%2FUtility%20script.gif?alt=media\&token=cf80b34d-20c4-4aa5-b53b-82a74884f7d6)

### 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](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2Ft7qTKJDmQbj5Nkjte7BK%2Fimage.png?alt=media\&token=2d3ec0b6-216a-4816-b9d0-8b7d9a83d003)

* 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](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2Ft9xLxDoijpzqZBKiczgV%2Fimage.png?alt=media\&token=59c8632a-dbac-49b4-8521-ded4ba2b34f4)

* 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](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FxhRl4xJcumxEgecICdxR%2Fimage.png?alt=media\&token=c6bf5b93-7f6b-4274-a3f1-7ec89c74f5a2)

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

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

![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FcvcBa9VLdOPm7mQZcXz9%2Fimage.png?alt=media\&token=53f7ed5d-ec7f-4c26-abaf-24cd1b0098e4)

* 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.

![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FlTWzMRLTnubv9v6o1tOH%2Fimage.png?alt=media\&token=2865d2a0-314f-43d0-b2c8-cc0da2ec1167)

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

![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FNMRDAaCuIQzwwarGnxRa%2Fimage.png?alt=media\&token=a2d8027d-6bd4-409e-acbb-7d61c1a8ff0b)

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

![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FE7ojaNVH8r6oKmMzIAnG%2Fimage.png?alt=media\&token=c0577b99-1e37-41f4-b55a-a9ef88ef67d5)

&#x20;
