Skip to main content
HotWax setup is a one-time task. Save the connection once, and every reconciliation run or automation that reads HotWax can use it from then on. Darpan reads HotWax over GraphQL, so the only things you need are your HotWax URL and a way to sign in.
Keep passwords, API tokens, and API keys in secure configuration. These docs describe the sequence, not the credentials.

Before you start

Confirm:
  • You are signed in to the correct active tenant.
  • You are a Tenant user, Company editor or Tenant admin in the active tenant. A Company view only member can read connections but not change them.
  • You know the base URL of your HotWax instance, for example https://your-instance.hotwax.io. Darpan sends every read to <base URL>/rest/s1/graphql, so the instance must serve GraphQL there.
  • You know the auth type: None, Basic, Bearer, or API Key.
  • The username and password, API token, or API key for that auth type is available.

Steps

1

Open HotWax settings

Open Ask Darpan with Cmd/Ctrl+K or by clicking Tara, the red panda in the corner. Search for Open HotWax Settings and open the result. The HotWax page lists your saved connections under Auth.
2

Create the HotWax connection

Choose Create Auth Profile and answer the setup questions:
  1. What HotWax base URL should Darpan use? Use the HotWax instance URL, not a storefront or another system’s URL.
  2. Which timezone should Darpan use for HotWax date windows?
  3. Which HotWax auth type should Darpan use? Choose None, Basic, Bearer, or API Key.
  4. The credentials for that auth type: a username and password for Basic, an API token for Bearer, or an API key for API Key.
  5. What label should Darpan show for this HotWax source?
For Bearer, Darpan sends the token as the Authorization: Bearer <token> header. For API Key, it sends the key in an api_key header.Darpan saves the connection as active and gives it a Config ID. The ID is set by Darpan and cannot be edited.
3

Choose the endpoints

Open the saved connection and choose Edit HotWax Auth. Under Available Endpoints, turn on the endpoints this connection may be read through, then save.The edit form also holds Description, Base URL, Auth Type, Timezone, Active, the credential fields, and the Shared with panel. See Share the connection with another tenant.Credential fields read “leave blank to keep existing”. A blank field keeps the stored value only while Base URL and Auth Type stay the same. If you change either, enter the credentials again.

Expected result

The connection appears under Auth on the HotWax page. Its page shows Config ID, Base URL, Active, and Timezone, and lists the enabled endpoints under Endpoints. HotWax is now offered as an API source when you build a run.

Endpoints

One HotWax connection serves every endpoint, because they share the same base URL and credentials: An endpoint that is not enabled under Available Endpoints is not offered when you build a run.
HotWax reads are GraphQL only. Runs and automations saved on the older REST endpoints were moved to the matching endpoint above during the upgrade. Transfer orders have no GraphQL endpoint.

Validation

Open the saved connection and choose Run connection diagnostics. Darpan sends one read-only GraphQL query for a single order and lists each check with its result. Nothing is reconciled. Then run one small reconciliation with a narrow date range and confirm HotWax returns records before you schedule it.

Remove a connection

On the saved connection’s page, choose Delete HotWax source and confirm. Only the tenant that owns the connection can delete it, and not while it is shared with other tenants. Stop sharing it first. A tenant the connection is shared with stops sharing instead of deleting. Deleting moves the connection to the bin for your tenant’s bin window (14 days unless your tenant set its own), and the confirmation says how long. Automations that read it are paused, and the delete is refused while the connection feeds an audit, naming the audit: take it out of the audit first. To bring it back, turn on Show archived on the connections list and choose Restore. Its automations stay paused until you turn each one back on from its automation page. When the window ends, Darpan deletes the connection and the data it kept for it.

Troubleshooting

  • Diagnostics fail. Check the base URL, the auth type, and that the token or key is still valid.
  • HotWax is not offered as a source. Confirm the connection is Active and the endpoint you need is turned on under Available Endpoints.
  • Saving asks you to enter the password or token again. You changed Base URL or Auth Type, so Darpan will not send the stored credential to the new address. Enter it again.
  • A run returns no records. Try a wider date range and confirm the tenant has orders in HotWax for that period.
  • A long read is slow. Darpan paces its calls to HotWax’s GraphQL cost limit, and retries a page that answers 429, 502, 503, or 504, so a long window reads slower rather than failing.

Next step

Build a run that reads HotWax in Set up a reconciliation run.