CommerceTools
This guide is intended for CommerceTools merchants who are connecting their store to Violet. During this process, the merchant will create a new API Client in their CommerceTools dashboard and then provide the generated credentials to Violet through the Violet Connect onboarding tool. The merchant will retain full control of the created API Client and can remove it at any time from within their CommerceTools dashboard. Total time for completion is around 3 minutes.
Step 1: Creating App Credentials
- Within your CommerceTools admin dashboard navigate to the Developer settings page. This can be done by activating the Settings section in the left sidebar and clicking
Developer settings
. - From the Developer settings page click the
Create new API client
button. This button is generally located in the upper right corner of the page. - Enter a Name for the new API Client that will remind you of the reason for creating this client. This can be as simple as “Violet” or the name of the channel you are connecting to.
- In the Scopes section check ensure that each of the following boxes is checked.
- Click the
Create API client
button. Your API Client will now be created. - The
Client ID
andClient Secret
for the newly created application will now be revealed. Copy these values and keep them available for Step 2 of this guide. Once you close the screen with the credentials you will no longer be able to see them again.
Step 2: Provide App Credentials to Violet
Once you have your Client ID and Client Secret, it’s time to return to the Violet Connect onboarding tool and enter the follow credentials created in the previous steps:
- When prompted for your store URL, enter the URL of the storefront, including the protocol, that is powered by your CommerceTools backend. Example -
https://yourstore.com
. - Enter your
Client ID
obtained in the previous steps in the ”Client ID” field. - Enter your
Client Secret
obtained in the previous steps in the ”Client Secret” field. - Enter your
**Project Key**
in the “Project Key” field. - Select the
Region
your CommerceTools instance operates in. Available options are:North America (Google Cloud)
North America (AWS)
Europe (Google Cloud)
Europe (AWS)
Australia (Google Cloud)
- Enter the URL that includes product page path in the “Product Path URL” field. This is the part of the URL that precedes the individual page of each product in your store. As an example, if you sell a product called “Purple Shirt” that is located at
https://yourstore.com/products/purple-shirt
your product path URL would behttps://yourstore.com/products
. This is the value you would enter in this field.
Once entered, click the Connect button to validate the credentials and complete the connection between your store and Violet. If the credentials are invalid you should check for any spaces or other copy/paste errors and try again.
Upon success you will be redirected back to the channel who first sent you to Violet.