# Access tokens for Shopify

> If you are you getting an error "App does not exist" while you try to integrate Shopify, adding a Shopify Access Token will take care of the issue.&#x20;

If you are facing any issues with the Shopify OAuth flow, please follow the below steps:&#x20;

## **Steps to Generate a New Shopify Access Token:**

1. Log in to your existing [Shopify](https://www.shopify.com/) account. &#x20;
2. **Click on the store** that you want to provide read permissions to Daton.

   <figure><img src="/files/rK2J0xjvCKLasRzGEwSB" alt=""><figcaption></figcaption></figure>
3. On the bottom of the dashboard of your selected store, click on the **'Settings'** butto&#x6E;**.**<br>

   <figure><img src="/files/9RGpIIxLEmXcOuYjwnPZ" alt=""><figcaption></figcaption></figure>
4. Go to the **'Apps and sales channels'** on the settings page and click the **'Develop apps'** button.&#x20;

   <figure><img src="/files/MU6xhJDR6y7unTXru3vV" alt=""><figcaption></figcaption></figure>
5. You may now be asked to **'Allow custom app development.'** (If not, proceed to Step 6.)\
   Click on the **'Allow custom app development.'** Now, read the [Shopify API License and Terms of Use](https://www.shopify.com/legal/api-terms) on the redirected page and click on the **'Allow custom app development'** button again.<br>

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

   <figure><img src="/files/Vkr8jM9ynaIWxdqFu1YB" alt=""><figcaption></figcaption></figure>
6. Click on **'Create an app'** on the redirected page.&#x20;

   <figure><img src="/files/dD2b4PuR9I9ybQ2Qcmdu" alt=""><figcaption></figcaption></figure>
7. Enter an app name and then click on **'Create app.'**&#x20;

   <figure><img src="/files/qDRivV2DaqfVGmMa5BkD" alt=""><figcaption></figcaption></figure>
8. You will be directed to the **App development page.** \
   Here, select the '**Configuration'** tab and click on the **'Configure'** button in the **'Admin API Integration'** section.

   <figure><img src="/files/ewzxMZ1JCeELTvH24Foe" alt=""><figcaption></figcaption></figure>
9. You'll be redirected to the **Admin API Integration page.** \
   Here, check the **read** permissions you want to provide to Daton, based on the tables you might be using, and click on the **'save'** button. \
   \&#xNAN;*Please note that, this is an obligatory step.*

   <figure><img src="/files/m5chs8WL9pNA0FdIIPLM" alt=""><figcaption></figcaption></figure>
10. Go to the **'API credentials'** tab, click on the **'Install app'** button, and click **'install'** in the pop-up.&#x20;

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

    <figure><img src="/files/YYJp2YQYPUMpXSikxThI" alt=""><figcaption></figcaption></figure>
11. Here you will be able to see the **Admin API access token.**\
    Click the **"reveal token once"** button, the revealed content is your access token. You may use this token while creating the integration in Daton.&#x20;

    <figure><img src="/files/246mfKC1ZcRjRbFWfwtB" alt=""><figcaption></figcaption></figure>

> ***Tip:** Save the token somewhere else because you can see the full token only once.*

> ***Note:***
>
> * Do not add this token page in the navigation side bar.&#x20;
> * Do not use token or create token in the link text.


---

# 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://daton-sarasanalytics.gitbook.io/daton/faqs/api-keys/access-tokens-for-shopify.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.
