# Enable a provider integration

Company → Settings → Integrations is the catalogue of third-party providers — WhatsApp, SMS, email, Telegram, calendars, AI and more. Click a provider, press Connect, then add its credentials, test the connection and adjust its settings from the provider's sheet.

Source: https://help.pigi.io/guides/company-setup/notifications/integrations

## Quick answers

**Where do I add my WhatsApp / SMS / email provider?**
Company → Settings → Integrations, at /school/admin/company/settings/integrations. Find
the provider (search with "Search integrations…" or scroll to its section), click it, and
press **Connect …** in the sheet that opens. Only company admins can connect or configure
integrations.

**What providers are in the catalogue?**
WhatsApp via Baileys, WhatsApp Business Cloud, BulkSMS, Telegram and Anthropic Claude
are standard, plus whatever else PiGi has added — Custom SMTP, Google
Calendar and Google Maps Platform among them. The exact list is whatever appears on
Company → Settings → Integrations, grouped into sections such as **Communication**,
**Payments**, **Scheduling** and **AI & automation**.

**How do I change credentials on an integration I already connected?**
Click the provider on Company → Settings → Integrations, then **Update credentials**.
Stored values are never shown back: each saved field says "(unchanged)", and you fill in
only what you are replacing. Leave a field blank to keep the stored value.

**What does "Test connection" do?**
It checks the saved credentials against the provider and shows the verdict in a dialog —
"Connection works", "Connection failed" with the provider's message, or "Not testable
yet" for a provider PiGi has no check for. Press **Run again** to repeat it. The row only
appears for providers PiGi can test, and stays greyed out until the required credentials
are saved.

**Does Custom SMTP's "Send a test email" work?**
Yes. It sends one real email through your SMTP server to the address in **Send to**,
the same way customer emails go, and says **Sent** or **Not sent** with the server's
reply. **Test connection** on the same sheet only logs in, without sending anything.

**If I connect Custom SMTP, will customer emails go through it?**
Yes, on the live PiGi site, once the host, username and password are saved. Customer
emails then go out through your server, from your **From Email**. If your server refuses
one, PiGi sends it from its own no-reply address instead, with your school's email as the
reply address, and shows a Custom SMTP warning in the header.

**If I connect SendGrid, will customer emails go through it?**
No. PiGi never sends through SendGrid. Email goes through PiGi's service, or your Custom
SMTP server if you connect one.

**Where have the WATI, Maytapi and Twilio tiles gone?**
PiGi removed them from the Integrations screen because nothing in PiGi sent messages
through any of them. Use WhatsApp Business Cloud for WhatsApp and BulkSMS for SMS.

**"Check for new" gives me a permission error.**
That button reloads the platform-wide provider catalogue and is restricted to PiGi
super-admins. Company admins do not need it. If a provider you use is missing, press
**Request an integration** instead.

**What happens when I disconnect an integration?**
PiGi asks "Disconnect …?" and warns that anything that sends through it stops working
and the saved credentials are deleted. You can connect it again later, but you will need
to enter the credentials afresh.

## What this is

Company → Settings → Integrations opens on "PiGi and the apps you already use", a search
box and your connected providers. Below that, every provider is filed once under a
section. A connected provider shows an **On** pill. Clicking any provider opens its
sheet: a description and **Connect …** before it is connected; a status card and a list
of actions after.

## Before you start

- You need the **admin** role for the company.
- Have the provider's credentials to hand — the fields differ per provider (BulkSMS
  wants a Token ID and Token Secret; Anthropic Claude wants an API Key). Each provider's
  own guide lists them.

## Steps

1. Open **Company → Settings → Integrations**.
2. Find the provider with "Search integrations…" or in its section, and click it.
3. Press **Connect …**. The sheet switches to its connected state.
4. Click **Add credentials**, fill in the fields and click **Save**. The status card
   changes from "Credentials needed" to "Credentials saved".
5. Click **Test connection** (where offered) to confirm the credentials work.
6. Click **Settings** to name the installation, switch **Test mode** on or off, and set
   **Default for its type**; click **Save**.
7. For a messaging provider, choose it as a method under Company → Settings →
   Notifications → **Methods**.

## Settings fields

| Field | What to enter |
|---|---|
| Installation name | Optional label, useful when you run more than one installation of the same provider. |
| Test mode | "Use the provider's test or sandbox environment. Nothing reaches real recipients." |
| Test recipient number | WhatsApp and SMS providers, with Test mode on: every message is redirected to this number. |
| Countries to text | SMS providers: dial codes, comma-separated (27 is South Africa, * is every country). Empty means South Africa only. |
| Default for its type | "Use this installation when nothing more specific is chosen." |

## Known limitations

- **Only Custom SMTP changes email delivery.** With Custom SMTP connected, customer
  emails on the live site go through your server; a message it refuses goes out from
  PiGi's no-reply address instead. SendGrid can be connected and tested but is never
  used for sending.
- **SMS goes through BulkSMS.** BulkSMS is the only SMS provider on the Integrations
  screen.
- **"Check for new" is super-admin only.** A company admin clicking it gets a permission
  error.
- **Credentials never read back.** The credentials dialog re-opens with empty boxes —
  that is by design, not a lost value.
- **Connecting an integration is not the same as using it.** For notifications you still
  pick a provider under Company → Settings → Notifications → Methods.

## Related

- [Choose how notifications reach people](notification-methods.md)
- [Send notifications with WhatsApp Business Cloud](../integrations/whatsapp-business.md)
- [Send SMS through BulkSMS](../integrations/bulksms.md)
- [Get PiGi messages on Telegram](../integrations/telegram.md)
- [Connect WhatsApp](connect-whatsapp.md)
- [Set up email sending](email-setup.md)
- [Send customer email through your own mail server (Custom SMTP)](../integrations/custom-smtp.md)
- [Connect Google Calendar](google-calendar.md)
