> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://care.coreware.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# coreFORCE - Integrations: How to set up the Printful API for coreFORCE

||| coreFORCE Advanced and Enterprise Only


1.  To set up the Printful API for coreFORCE, you need to first set up the Printful location. Go to Products > Settings > Locations.

2.  Create a new location with the location code, "PRINTFUL".

3.  In the Product Distributor field, select the product distributor "PRINTFUL".

4.  Go to Products > Settings > Distributor Credentials.

5.  Create a new location credential. In the Location field, select the Printful location.

6.  IMPORTANT: Because of the requirements of OAuth, Printful requires the Token request to come from a **coreware.com** or **corefire.shop** domain name.  If you try to log into Printful from a different domain, you will get an error.  
      
    Make sure you are logged into the coreware.com / corefire.shop version of your domain name before doing the following step.  For example, if your public domain name is www.myonlinestore.com, you should log into myonlinestore.coreware.com (coreFORCE Advanced/Enterprise) or myonlinestore.corefire.shop (coreFORCE Basic/Standard)

7.  Click the "Get Printful Token" button.  You will be redirected to printful to login. (If you see a page that says "Dang it", see step 6 above)  
      
    ![](https://storage.crisp.chat/users/helpdesk/website/2f3a2dc98ab6c000/670519a1-5499-48c8-bfa6-0c468b_tnm189.png)

8.  Log in to Printful.  
    ![](https://storage.crisp.chat/users/helpdesk/website/61979adf11da5400/c6b43752-576d-4310-8d05-aaa8f9_yx3a64.png)  
    

9.  From the dropdown in the lower left, change "Create a new Printful store" to your Printful store name and click Authorize.  
    ![](https://storage.crisp.chat/users/helpdesk/website/d9363f092d1a0000/4ed2ed1a-f626-41df-b7f6-377acf_sdtnzz.png)  
    
10.  If the token is correctly retrieved from Printful, you will see (Saved Token) in the API Key/Private Token field and the "Use OAuth authentication" box will be checked.  You can verify that the credentials work by clicking "Test Credentials"  
      
    ![](https://storage.crisp.chat/users/helpdesk/website/e2158ccdd66db000/96c3fa03-07ea-4be8-9fa6-ce1bc4_1tvvjd0.png)