# Shopify

This page describes how to set up your Shopify connection. Click on the Shopify data source, and then "Create a New Connection".

<figure><img src="https://1051325660-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfY8WPfaF1OHmiC1YaW%2Fuploads%2F16GRmQZofmMgwe1oxcS7%2Fimage.png?alt=media&#x26;token=945717d9-d007-4139-bb42-d9b754fa29b4" alt=""><figcaption></figcaption></figure>

To allow Phiona access to your Shopify data, you'll need to add a private app to your store. Here's how you do it:

* Navigate to your Shopify store page, and click on "Settings" then "Apps and sales channels".
* Click on the button that says "Develop apps".

<figure><img src="https://1051325660-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfY8WPfaF1OHmiC1YaW%2Fuploads%2FsfaopWr7bJyFZCBYwQzV%2Fimage.png?alt=media&#x26;token=2f4cba08-b357-4bca-9888-834db44c77b9" alt=""><figcaption></figcaption></figure>

* Click on the "Create app" button.
* You'll be prompted to enter a name for your app.
* Once the app has been created, click on "Configure Admin API scopes".

<figure><img src="https://1051325660-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfY8WPfaF1OHmiC1YaW%2Fuploads%2FR4EqocThK2tdkaY9qrEH%2Fimage.png?alt=media&#x26;token=10470c63-02f1-400e-8d7a-9392944d3ed4" alt=""><figcaption></figcaption></figure>

* For Phiona to access the correct information, you'll want to select at least these read-only scopes:
  * `read_analytics`
  * `read_customers`
  * `read_discounts`
  * `read_inventory`
  * `read_locations`
  * `read_orders`
  * `read_products`
* If you'd like to see some of the additional streams from Shopify that Phiona supports, please select all of the read-only scopes to ensure that the software is able to pull the correct information.
* Once you've selected the correct permissions, click "Install app" to get your access token.
