# 1.3 Basic Setup

The minimal requirement for the extension to run is the formulation of a **data request**. Here's a basic example, which requests all the items in your personal library :

```javascript
// The zoteroRoam_settings object will contain all your settings for the extension
// For now, we're doing a minimal configuration, with just a single data request.
// Paste this into your roam/js block, and fill out the API key + your user ID :

zoteroRoam_settings = {
    dataRequests: {
        apikey: "your_API_key",
        dataURI: "users/your_user_id/items",
        params: "limit=100"
    }
}
```

After you've done this, reload your graph. A new icon should be visible in the topbar - a book :

![The book (right) is the extension's icon](https://2944561674-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MT27mrenUP-_WL-J7HW%2F-MVJOeUxsEL8ksBaXcof%2F-MVO4jBkP1LrfCqTHrT3%2Fimage.png?alt=media\&token=49ff0382-7308-4d5c-ae7f-2792cc4c443f)

The icon acts as a toggle for turning the extension on/off, and its background color always indicates the current state of the extension :

* <img src="https://2944561674-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MT27mrenUP-_WL-J7HW%2F-MVJOeUxsEL8ksBaXcof%2F-MVPCylIWt8X-uvOJa1_%2Fimage.png?alt=media&#x26;token=f5316424-69dd-4a4a-ba01-bdb81e79fb32" alt="" data-size="original"> **Busy** - the data request is ongoing. Depending on the number of items, this may take \~20s.
* <img src="https://2944561674-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MT27mrenUP-_WL-J7HW%2F-MVJOeUxsEL8ksBaXcof%2F-MVPCNuEocBAOovwBPj5%2Fimage.png?alt=media&#x26;token=31c87093-40bc-4b91-9cfa-e3e920da69e8" alt="" data-size="original">  **Active** - the data has been fully loaded, the extension is ready !
* <img src="https://2944561674-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MT27mrenUP-_WL-J7HW%2F-MVJOeUxsEL8ksBaXcof%2F-MVPDi6laFCaOy0_PAKs%2Fimage.png?alt=media&#x26;token=b226e001-2363-4fa5-b42b-2ce021edb584" alt="" data-size="original">  **Error** - something went wrong while retrieving the data. Check the browser console for details.
* <img src="https://2944561674-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MT27mrenUP-_WL-J7HW%2F-MVJOeUxsEL8ksBaXcof%2F-MVPCfbcaY7KxpFNiaSX%2Fimage.png?alt=media&#x26;token=e139c26e-c8d1-42f9-9777-af5fb82f3d5c" alt="" data-size="original"> The extension is turned off.

Once the icon turns green, the extension's functionalities will become available.
