Help centre / Connect a store
How to connect Drupal Commerce: step by step
Enable JSON:API and Basic Auth, create an API user and paste it into CostCal Pro.
Last reviewed 2026-11-11
You need: Drupal admin access and Commerce installed. This one takes a little technical comfort, so ask your developer if unsure. Connecting needs Starter or above. Applying a price to your store needs Premium or above.
Step 1. Enable the modules
- 1In Drupal open Extend.
- 2Tick JSON:API and HTTP Basic Authentication, then click Install.
- 3Open Configuration, Web services, JSON:API and allow write operations (Accept all JSON:API create, read, update, and delete operations).
Step 2. Create the API user
- 1Open People, then Add user. Username: costcal. Use a long random password.
- 2Create a role that can edit Commerce product variations and give it to this user.
- 3Do not reuse this password anywhere else.
Step 3. Paste it into CostCal Pro
- 1Open the Stores tab and choose Drupal Commerce.
- 2Site address: the address customers visit, for example https://yourstore.com.
- 3Enter the API username and password.
- 4Click Connect store.
Each product variation is listed as its own row and keeps its own currency.