Skip to main content

Connect to Shopify

· 2 min read

You can connect to Shopify and make it available as a resource in Retool. Once complete, your users can write queries that interact with Shopify data using GraphQL. Shopify also offers a REST API, which you can also connect to Retool as a resource.


All users for Retool organizations on Free or Team plans have global Edit permissions and can add, edit, and remove resources. If your organization manages user permissions for resources, you must be a member of a group with Edit all permissions.

To create a Shopify resource, you also need:

1. Create a new resource

Retool can connect to almost any API or database, and has built-in integrations for popular data sources. Sign in to your Retool organization and create a new GraphQL resource from the Resources tab.

2. Configure the resource

Provide the necessary details to configure the resource so Retool can connect to Shopify. Not all settings are required but refer to the Shopify documentation to learn what is needed.


These settings configure the name and location of the resource within Retool.


The name to use for the resource (e.g., Shopify).


The folder in which to save the resource.


A brief description of the resource (e.g., Order data).


These settings configure how Retool connects to Shopify.

Base URL

The base URL for the Shopify API. This must be an absolute URL. Use https://{shop}


Key-value pairs to include as headers with Shopify API requests. Shopify uses your API access token as a header. Include the following key-value pair:


3. Save the resource

Click Create resource to complete the setup. You can then click either Create an app to immediately start building a Retool app or Back to resources to return to the list of resources.

Wrap up

Your Shopify resource is now ready to use. See the guide to querying Shopify to learn how to interact with your Shopify data.