# Integration Setup

## Step 1: Navigate to 'New Integration' screen

In the Daasity app, click **Integrations** in the left-hand menu, and then the **New Integration** button in the upper-right corner.

<figure><img src="/files/WiuqccEFmz3YDzHqfIyJ" alt=""><figcaption></figcaption></figure>

## Step 2: Choose the Stay Ai integration

In the search box, type "stay" and choose the Stay Ai integration.

<figure><img src="/files/VyU47J53ZdnMCvfvMzVk" alt=""><figcaption></figcaption></figure>

## Step 3: Name the integration

Give the integration a name. This is the name that will be displayed in your integrations list in the Daasity app.

<figure><img src="/files/HLpXhOX22c1pKV56MLR0" alt=""><figcaption></figcaption></figure>

## Step 4: Authorize the integration

To give Daasity access to your Stay data for extraction, you'll need to create an access token in the Stay app and input it in the Daasity app:

<div align="left"><figure><img src="/files/AAmvFaKbp73sLg0deUv9" alt="" width="563"><figcaption></figcaption></figure></div>

You can get an access token by following these steps:

1. Open the Stay AI app in Shopify
2. Click Settings
3. Click API Keys
4. Click the New API Key button
5. Enter the name of your your key, the email you would like associated with the key, a description, and the enabled the permissions “Read Subscriptions” and “Read Orders”

## Step 5: Save the integration

## Step 6: Load history

From the integration details screen, trigger a load of up to 5 years of history:

<figure><img src="/files/FtXwhLlLNtxEn1u0H3XR" alt=""><figcaption></figcaption></figure>

This will load your historical data into your database.

You will see the data reflected in your [subscription dashboard](/core-concepts/dashboards/report-library/data-source-dashboards/subscription.md) and explores after the next daily workflow runs.


---

# 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://help.daasity.com/core-concepts/data-integrations/setup-guides/digital-integrations/stay-ai/integration-setup.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.
