![Flow chart of a headless architecture built on Shopify. A developer uses the Shopify admin to control access to the Storefront API and Customer Account API. Those API resources are then rendered to display to customers.](/assets/custom-storefronts/headless/headless-channel.png) Shopify’s composable commerce APIs allow you to integrate Shopify into nearly any technology stack, so you have the freedom to use the frameworks, hosting, and workflows that work best for you. ## Install the Headless channel To start accessing the Storefront API and the Customer Account API, you need to install the [Headless channel](https://apps.shopify.com/headless) from the Shopify App Store. This channel gives you a single place to manage API access for all your client applications. It enables you to publish products to the Headless sales channel, as well as manage API permissions and credentials. ## Create a storefront You can create multiple storefronts in the Headless channel. Each storefront has its own set of API tokens, but all storefronts in the Headless channel share the same API permissions. 1. From your Shopify admin, under **Sales channels**, click **Headless**. 1. Click **Add storefront**. 1. (Optional) On the storefront detail page, click **Rename** to edit the storefront’s default name. ## Manage API permissions You can control which store data is available through the Storefront or Customer Account APIs. All storefronts in the Headless channel share the same API permissions. 1. From your Shopify admin, under **Sales channels**, click **Headless**. 1. Click the name of the storefront that you want to update. 1. Under **Manage API access**, click **Manage** for the API that you want to update. 1. Under **Permissions**, click the edit icon. 1. Check the permission scopes that you want enabled. 1. Click **Save**. ## Rotate API credentials For security purposes, you can update your API credentials at any time. 1. From your Shopify admin, under **Sales channels**, click **Headless**. 1. Click the name of the storefront to update. 1. Under **Manage API access**, click **Manage** for the API that you want to update. 1. Under **Rotate credentials**, click **Generate new token**. Both the old and new credentials are valid until you delete the old credentials. 1. Update your client apps with the new credentials. - The Storefront API access relies on an API token. - The Customer Account API might have a Client ID and a Client Secret, depending on the type of access. 1. After you’ve updated your apps, delete the old credentials by clicking **Revoke**. ## Delete a storefront Deleting a storefront in the Headless channel revokes all its access tokens. You need to update any clients using those tokens. 1. From your Shopify admin, under **Sales channels**, click **Headless**. 1. Click the name of the storefront that you want to delete. 1. Click **Delete storefront**. 1. To confirm, click **Delete storefront**. ## Next steps From here, what you build is up to you! The Storefront API and the Customer Account API provide a wide selection of commerce primitives that enable you to integrate Shopify into your existing tech stack, or create something new. - Learn more about [getting started with the Storefront API](/docs/storefronts/headless/building-with-the-storefront-api). - Learn more about [getting started with the Customer Account API](/docs/storefronts/headless/building-with-the-customer-account-api). - Learn more about [headless with B2B](/docs/storefronts/headless/bring-your-own-stack/b2b). - Consult the complete [Storefront API Reference](/docs/api/storefront). - Consult the complete [Customer Account API Reference](/docs/api/customer).