> For the complete documentation index, see [llms.txt](https://daton-sarasanalytics.gitbook.io/daton/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://daton-sarasanalytics.gitbook.io/daton/integrations/data-sources/ecommerce/shopify/access-tokens-for-shopify.md).

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