Why use an integration
You could do all of this with secrets — generate an API key, paste it in, ask the agent to write the calls. An integration removes the fiddly parts:- You don’t handle a token. Sign in through the service and Paige stores what it needs.
- Your bot gets a ready-made helper, so the agent writes
postMessage(...)rather than hand-rolling HTTP calls against an API it’s half-remembering. - The agent knows the service. It looks up the real reference before writing anything, including your actual Airtable tables and fields.
Every integration follows the same shape
Each integration page is laid out the same way, so once you’ve connected one you know how the next one works:- What it does — the reads and writes it gives your bot.
- How to authenticate — sign in once, or paste a token you made yourself.
- How to prompt the coding agent to use it — the plain-language instructions that turn the connection into working bot behaviour.
Available integrations
Airtable
Read and write records in an Airtable base — look up an order, log a booking, update a status.
Slack
Post messages to a Slack channel — alert your team when someone needs a human.
WordPress
Import your site’s posts, pages or events on a schedule — so your bot answers from what you’ve already published.
Yoco
Send a customer a Yoco payment link in the chat and know as soon as they’ve paid.
Conversations
Conversations is also listed under Tools → Connectors, but it’s a different sort of thing. There’s no account to sign in to and no token — clicking Connect simply asks the Code agent to add a small piece of code to your bot, and that’s what lets you reply to customers from the Conversations tab. It only appears on Paige-hosted projects. Once it’s in, the card reads Active.Connecting
Each card offers up to two routes:- Connect with service — the one-click route. A popup opens, you sign in and approve, and it closes itself.
- Or enter an access token manually — paste a token you’ve made yourself. Useful when your organisation restricts app installs, or you want to control exactly which permissions the token carries.
When a sign-in expires
Integrations you connected with a one-click button hand Paige an access pass that runs out after a while. Paige renews it in the background, but if that ever fails the card stops saying Connected and shows an amber Expired badge with a short note — so you find out on this page rather than from a bot that has quietly stopped working. You don’t need to reload: if you’re sitting on the Connectors page when a pass runs out, the card updates itself at that moment. Click Reconnect to sign in again and pick up where you left off, or Disconnect to remove it. Integrations you set up by pasting a token, and ones that need no credential at all, never expire — their cards are unaffected.Integrations and deploy
Your connection is shared between your preview bot and your live bot, and doesn’t need a deploy — connect once and both can use it.One exception: Airtable’s Refresh schema writes an updated list of your tables and fields into your bot code, which does need a deploy to reach your live bot. See the Airtable page.
Disconnecting
Disconnect removes the credential. There’s no confirmation step — one click and it’s gone. WordPress is the exception, because there’s no credential to remove. Disconnecting stops the syncing but leaves everything already imported in place, and your bot keeps using it — Paige tells you so before you confirm. Yoco also asks you to confirm, because disconnecting removes every shop’s key and stops Yoco telling your bot about payments.Integrations in scheduled tasks
Your integrations work in scheduled tasks exactly as they do anywhere else. A nightly Airtable sync or a daily Slack summary is a perfectly good thing to build — a task gets the same connection your bot uses when a customer messages it.Yoco
Yoco lets your bot send a customer a Yoco payment link in the chat and know as soon as they’ve paid. You ask for the payment step in plain language, and the Code Agent builds it. You never write a webhook, and Paige looks after each shop’s key. Connect it from Tools → Connectors. The Yoco card appears only on bots that Paige runs for you, so you won’t see it if your bot runs on your own server. Only the project owner or a workspace owner or admin can connect it. Everyone else sees the card without its buttons, with a note to ask a project admin.Connect a shop
Click Connect on the Yoco card. Paige asks for a shop name and a Yoco API key. The shop name is only there to tell your shops apart, and customers never see it. To get the key:1
Log in to the Yoco Developer Console
Go to the Yoco Developer Console and log in with the Yoco account for this shop.
2
Create an application
Click New application, name it “Paige” and choose the live environment.
3
Select four permissions, then save
application/webhooks:readandapplication/webhooks:write, which let Paige set up payment notifications.business/orders:readandbusiness/orders:write, which let your bot create payment links.
business/orders ones your payment links won’t work.4
Generate the key
Open the application, choose Generate API key and copy it. You’ll only see it once.
5
Paste it into Paige
Enter the key with a name for the shop, and press Connect.
The key from the Yoco App’s Checkout API, which starts with
sk_, won’t work here. It has to come from an application in the Developer Console.Manage your shops
Once connected, the card reads something like Connected · 2 shops. Click Manage to see each shop, the end of its key, and that its payments webhook is active. From there you can:- Add another shop.
- Remove a shop. Removing your last shop disconnects Yoco completely, and Paige tells you so before you confirm.
Take payment in the chat
Once a shop is connected, ask for what you want and the agent builds it:“Take payment with Yoco before confirming the order.”
“Ask which branch they’re ordering from, then send a Pay now button for that shop.”If Yoco isn’t connected yet, the agent tells you to connect it first. It never asks for a Yoco key in the chat, and a key doesn’t belong in Secrets. Here’s what the customer gets:
1
The order is saved, waiting for payment
If the customer taps twice, or already has an unpaid order, the bot sends the same link again rather than making a second order.
2
A Pay now button arrives
The message shows Yoco’s order number, the one the shop sees, and the total. The customer has 30 minutes to pay.
3
The customer pays
Yoco tells your bot, and the bot checks the payment and confirms the order. If the same notification arrives twice, the order is still only confirmed once.
4
Or the link runs out
After 30 minutes an unpaid order expires. The link is cancelled and the customer is told.
- Amounts are in rand, and R2 is the minimum. Your bot can’t make a payment link for less.
- Tell the agent how you want to hear about problems. A payment that arrives after its order expired, or one the bot can’t settle, needs a person to look at it. Ask for a Slack message, an email or a WhatsApp to you. Otherwise the only record is in your table and your logs.
- Refunds happen in Yoco. Your bot can’t issue one, so use your Yoco dashboard.
Test it before you go live
There’s no safe test mode for a connected shop, so each way of testing shows you something different.When it breaks
- The Yoco card isn’t there. Your project runs on your own server. Yoco is only offered on bots Paige runs.
- “That key was not accepted by Yoco”. The key has to come from an application in the Developer Console, and it needs
application/webhooks:read. A Checkout API key (sk_...) is refused. - Paige asks you to check the key’s webhook permissions. The key doesn’t have
application/webhooks:write. Add it in the Developer Console and try again. - The shop connected, but payment links fail. The key is missing
business/orders:write. Paige can’t test for that one when you connect. Create a key with all four permissions, then remove the shop and add it again. - Payments aren’t reaching your bot. Open the Yoco payments hook under Settings → API and check its recent activity:
- Nothing listed. Yoco isn’t reaching Paige. Check the shop is still listed under Manage. If its key was deleted or regenerated in Yoco, remove the shop and add it again.
failed. Paige received the payment and your bot’s code hit an error. Read the error on the row, then check your logs.handled, but nothing happened. Your bot ran and did nothing with the payment. Tell the agent what you expected.
