Skip to Content
Benbase

Go Live

Change your integration from the sandbox to production before your first live employer.

Go Live

You build and test your integration in the sandbox. Before your first live employer, do the steps on this page that apply to your integration path.

Each code sample with a host or an API key has a Sandbox / Production switch. Select Production to see and copy the production values.

Change the host and the API key together. A key works only on the host of its own environment. A live_sk_ key sent to https://embed-sandbox.benbase.com returns 401 with the message Invalid or disabled API key.

Change the Benbase host

Send each API request to the production base URL.

EnvironmentAPI key prefixBase URL
Sandboxsandbox_sk_https://embed-sandbox.benbase.com/api
Productionlive_sk_https://embed.benbase.com/api

Change the API key

Replace the sandbox key (prefix sandbox_sk_) with a production key (prefix live_sk_). Get the production key from your Benbase representative.

Keep the base URL and the API key in the same configuration, with one set for each environment. Then one change moves both:

BENBASE_API_URL=https://embed-sandbox.benbase.com/api
BENBASE_API_KEY=sandbox_sk_...
BENBASE_API_URL=https://embed.benbase.com/api
BENBASE_API_KEY=live_sk_...

Add your webhook endpoint in the live Svix portal

API Integration only. Production has its own Svix portal. An endpoint that you added in the sandbox portal gets no production webhooks.

  1. Log in to Benbase Embed in production.
  2. Go to the Svix Portal Access tab, and click Get Portal URL.
  3. In the portal, add your production webhook endpoint.
  4. Subscribe the endpoint to the same events as in the sandbox. See Subscribe to events.
  5. Verify the webhook signatures with the signing secret of the production endpoint. Each Svix endpoint has its own secret.

Change the Check host

Payroll Engine Integration with Check only. Send the Check authorize call to https://api.checkhq.com, not to https://sandbox.checkhq.com. Use your production Check API key with it.

Keep the Benbase integration IDs. They are the same in the sandbox and in production. See Check.

On this page