Connect Chargebee

A step-by-step guide with pictures, from the Speakvora agent's own Connect tab.

Short answer: This connects your own Chargebee account to your Speakvora agent. Then a customer can text where is order 1234 and get the answer in seconds, and the agent can send status and tracking texts. The agent only reads. It can never create, change or delete anything in Chargebee. Only the status word and the order number.

Every key, number and name in the pictures is a made-up example. Nothing here asks you to share a real key with anyone but the app on your own computer.

This connects your own Chargebee account to your Speakvora agent. Then a customer can text *where is order 1234* and get the answer in seconds, and the agent can send status and tracking texts. The agent only reads. It can never create, change or delete anything in Chargebee. Only the status word and the order number are ever texted back, never names, prices, items or addresses.

TIP: You need about 15 minutes, a computer, and the sign-in for your Chargebee account (the owner or a manager). You can't break anything: if a step does not work, nothing has changed and you can just try again. The keys and screens below are made-up examples.

NOTE: This guide was written from Chargebee's public developer documentation (a few details could not be confirmed) and has not been tried yet on a live Chargebee account. If a screen looks different from what is described, press Connect, then Download report, and send it to support. We fix it for everyone.

Who this is for: billing payments. How Chargebee gives access: You create the key yourself in your own account; no approval is needed. What it costs you: API access is not separately priced in the pages read; check your Chargebee plan.

Part 1. Get your key from Chargebee

Do this on your computer, in a new browser tab, signed in to Chargebee.

  1. Sign in to Chargebee as an admin user.
  2. Open [[Settings > Configure Chargebee > API Keys and Webhooks]].
  3. Press Add API Key and choose a read-only key if it is offered; otherwise a full-access key.
  4. Name it Speakvora and copy the key shown (it is shown once).
  5. Note your site name, the first part of your-business.chargebee.com.
  6. Paste the site name and the key into Speakvora.
  7. Keep test and live sites separate: each has its own key.

WARNING: If Chargebee asks which permissions to give, tick only the read-only ones: subscriptions: read, customers: read, invoices: read. Never give write or admin access.

TIP: To copy the key, click inside the box that shows it, press Command + C on a Mac or Ctrl + C on Windows (or right-click and choose Copy). Nothing will look different. It is now in your clipboard, ready to paste. Keep it private: anyone who has it can read your orders.

Part 2. Open the Connect tab in your agent

  1. Open your agent's dashboard (the page you open from the Start Speakvora Agent file).
  2. Press Connect in the menu. On a phone the menu is the bar along the top; slide it sideways if you do not see Connect.
  3. Step 1: press Connect (1)

  4. Under Your apps type Chargebee in the box that says Find an app (1), or scroll down the list.
  5. Step 2: the Find an app box (1)

  6. Press Chargebee. A card slides up. (If you only see apps for your own kind of business, that is on purpose: your agent only shows the systems that make sense for it.)
  7. Step 3: an app's card. The Full Guide button (1) opens this page.

Part 3. Paste it in

2 boxes to fill in. Click inside a box, press Command + V on a Mac or Ctrl + V on Windows, then move to the next:

  1. Your Chargebee site name. The first part of the address you sign in to, for example your-business in your-business.chargebee.com.
  2. API key (secret: it stays on this computer and is never shown again, only the last few characters). Settings > Configure Chargebee > API Keys and Webhooks > Add API Key. Choose a read-only key if your site offers that type.
  3. Part 3: each numbered box is one thing to paste. These are made-up examples.

TIP: Pasted by mistake into the wrong box? Click the box, press Command + A (Ctrl + A on Windows) to select all, then paste again.

Part 4. Test it

  1. Press the orange Save and test button.
  2. Chargebee has no safe read-only check we can run, so nothing is called. The connection is used for real the first time a customer asks about an order, and any problem shows in Activity.
  3. Part 4: the green message under the buttons means it worked (1)

YOU SHOULD SEE: green words starting with Connected. (here: *Saved* and the sentence about the first customer)

WARNING: Red words mean it did not work yet. Read them, then see If something is wrong below. Nothing bad happened.

What happens next

  • A customer texts something like where is order 1234. The agent answers *Your order 1234 is preparing.* (the status word from Chargebee), or *I could not find that order. A team member will check and reply.*
  • Each person can ask five times an hour. If Chargebee is down, the conversation carries on and the problem is written to Activity.
  • Mode: the agent asks Chargebee when a customer asks.

If something is wrong

  • It says the key was refused (401 or 403): copy the key again from Chargebee. Make sure there is no space before or after it, and that it is a live key for the right shop or location.
  • It cannot find an order (404): the number is not in Chargebee, or Chargebee uses a longer number than the one on the receipt.
  • It says too many requests (429): wait a minute and press Save and test again.
  • Chargebee says you need a plan or approval: Authentication (HTTP Basic, API key as username, empty password), the site-name base URL and the retrieve-subscription call were read in Chargebee's API docs. The exact list call for a connection test and the permissions of the read-only key type were not confirmed, so no test call is configured. Use a read-only key if available, otherwise a full-access key, which Speakvora only uses for GET requests.
  • Still stuck? Press Connect, then Download report, and email it to support. It never contains keys or customer messages.

If your plan has no API

  • Send subscription status by email or CSV export from Chargebee instead.

Chargebee's own instructions: https://apidocs.chargebee.com/docs/api/auth

All help guides · Every agent feature · AI receptionist by industry

Questions

What if this happens: It says the key was refused (401 or 403)?

copy the key again from Chargebee. Make sure there is no space before or after it, and that it is a live key for the right shop or location.

What if this happens: It cannot find an order (404)?

the number is not in Chargebee, or Chargebee uses a longer number than the one on the receipt.

What if this happens: It says too many requests (429)?

wait a minute and press Save and test again.

What if this happens: Chargebee says you need a plan or approval?

Authentication (HTTP Basic, API key as username, empty password), the site-name base URL and the retrieve-subscription call were read in Chargebee's API docs. The exact list call for a connection test and the permissions of the read-only key type were not confirmed, so no test call is configured. Use a read-only key if available, otherwise a full-access key, which Speakvora only uses for GET requests.

What if this happens: Still stuck??

Press Connect, then Download report, and email it to support. It never contains keys or customer messages.