# Integrations
Source: https://sovaria.in/docs/integrations

Every tool Sovaria connects to: alerts in Slack, Discord, Teams or your own endpoint, GitHub, Vercel and Netlify, sign-in providers, AI model keys, email relays, Zapier, n8n and Make, log drains and Postgres clients.

**Organization › Integrations** lists everything Sovaria connects to, grouped by what it does. Alerts belong to the whole organization; everything else is set per project, and the catalog opens the right project setting. Where a vendor supports it you connect by signing in to the vendor; every integration also has a manual option (paste a URL or key) that behaves the same way.

- [Alerts](https://sovaria.in/docs/integration-alerts): Slack, Discord, Microsoft Teams and signed webhooks for security, project, usage and billing alerts.
- [GitHub](https://sovaria.in/docs/integration-github): Deploy functions and fetch migrations from a repository; commit changes back.
- [Vercel and Netlify](https://sovaria.in/docs/integration-vercel-and-netlify): Write your project URL and publishable key into your hosting provider’s environment.
- [AI model providers](https://sovaria.in/docs/integration-ai-providers): Bring Anthropic, OpenAI, Gemini, Mistral and other keys to Sovariq and your agents.
- [Email relays](https://sovaria.in/docs/integration-email-providers): Send auth emails through Resend, SendGrid, Mailgun, Amazon SES, Brevo or Postmark.
- [Automation](https://sovaria.in/docs/integration-automation): Start Zapier, n8n and Make workflows from database changes.
- [Observability](https://sovaria.in/docs/integration-observability): Stream request and function logs to Datadog, Grafana Loki or any HTTPS endpoint.
- [Postgres clients and GraphQL](https://sovaria.in/docs/integration-postgres-clients): psql, ORMs, BI tools and the GraphQL endpoint.
- [Sign-in providers](https://sovaria.in/docs/social-sign-in): Google, GitHub, GitLab, Apple, Microsoft, Discord, LinkedIn, Facebook and X for your users.
- [SMS and push](https://sovaria.in/docs/integrations#sms-push): Twilio (or a Twilio-compatible API) for phone codes; Firebase Cloud Messaging and Apple Push for notifications.
- [MCP servers](https://sovaria.in/docs/mcp): Claude, Cursor or any MCP client working on your projects through the hosted MCP server.

## Every integration

| Integration | Scope | Where to set it up |
|---|---|---|
| Slack, Discord, Microsoft Teams, signed webhook | Organization | Organization › Integrations › Alerts |
| GitHub | Project | Edge Functions › GitHub repository |
| Vercel, Netlify | Project | Organization › Integrations › Deploy |
| Sign in with Google, GitHub, GitLab, Apple, Microsoft, Discord, LinkedIn, Facebook, X | Project | Users › Sign in / Providers |
| Anthropic, OpenAI, Google Gemini, Mistral, Groq, OpenRouter, DeepSeek, xAI, Together AI | Project | Sovariq › Settings › Models |
| Resend, SendGrid, Mailgun, Amazon SES, Brevo, Postmark (SMTP) | Project | Users › Email |
| Database webhooks, Zapier, n8n, Make | Project | Schema › Webhooks |
| GraphQL, PostgreSQL clients | Project | Connect (top bar) |
| Datadog, Grafana Loki, HTTPS log drain | Project | Observability › Log drains |
| Twilio, Twilio-compatible SMS | Project | Users › Providers › Phone |
| Firebase Cloud Messaging, Apple Push Notifications | Project | Users › Mobile › Push |
| MCP servers (Claude, Cursor, any MCP client) | Organization | Organization › Settings › MCP |

## SMS and push

- **Twilio**: phone sign-in codes and SMS go through your Twilio account (Account SID, auth token, a From number in E.164). Any provider with a Twilio-compatible Messages API works the same way. The auth token is encrypted and never shown again. Without your own account, codes use Sovaria's sender where it is set up; where it isn't, a phone code answers `SMS_NOT_CONFIGURED` with a plain message, so add your Twilio account before turning on phone sign-in.
- **Firebase Cloud Messaging** (Android and web) and **Apple Push Notifications** (iPhone and iPad): upload the Firebase service account JSON or the `.p8` key with its key ID, team ID and bundle ID. Keys are encrypted and never shown again; send from Messaging or from your functions ([Push notifications](https://sovaria.in/docs/mobile-push)).

## How one-click connect works

One-click Slack, Discord, Vercel and Netlify use an OAuth app registered with the vendor: Sovaria's, where staff have set it up, or **your organization's own**. An owner or admin adds it in the integration's panel under **Use your own app**: register an app with the vendor using the redirect URL shown there, then paste its client ID and secret (Vercel also needs the integration's URL slug). The secret is encrypted and shown only as a hint. When your organization has its own app it is used; when neither exists the panel says so and how to add one, and the manual option (paste a webhook URL, or copy the environment variables) always works.

1. **Start** — An organization owner or admin presses **Connect** (or runs `sov integrations connect <provider>`). Sovaria opens the vendor’s consent screen with a single-use state that names you, your organization and the page to return to (10 minutes).
2. **Approve at the vendor** — The vendor sends your browser back to Sovaria, which parks its code and returns you to the console. Nothing is connected yet.
3. **Finish in the console** — The console finishes the connection as you. Only the person who started it can finish it, so a link someone else started can’t put your workspace or hosting account into their organization.

Tokens from the vendor are stored encrypted in Sovaria’s database and listed (never shown) under the organization’s connections. Disconnecting revokes Sovaria’s access at the vendor where it allows that (Vercel removes the installation; Netlify asks you to remove Sovaria under **User settings › Applications**), and the answer says which happened.

CLI:
```bash
sov integrations providers                 # what can be connected in one click
sov integrations connect vercel --project <id>   # prints the consent link; finish in the console
sov integrations targets vercel --project <id>
sov integrations sync vercel --target prj_123 --project <id>
sov integrations connections               # the org's connections (never a token)
sov integrations disconnect vercel --project <id>
```

## How integrations keep secrets

- Webhook URLs, API keys and tokens are encrypted at rest and never shown again after you save them; the console shows a short hint so you can tell them apart.
- Everything Sovaria sends to an endpoint you own is signed: `X-Sovaria-Signature: sha256=<hex>`, an HMAC-SHA-256 of the raw body with a secret shown once ([Alerts: Slack, Discord, Teams, webhooks](https://sovaria.in/docs/integration-alerts#verify)).
- Outgoing calls only go to public `https://` addresses. Private and internal addresses are refused, and redirects are not followed.
- Only public values (the project URL and the publishable key) are ever written to a hosting provider. Service keys never leave Sovaria.

## Plugins for your tools

- [MCP server](https://sovaria.in/docs/mcp): Connect Claude, Cursor or any MCP client to your project with OAuth.
- [Sovariq for Chrome](https://sovaria.in/docs/sovariq-for-chrome): Ask Sovariq about the page you are on and act in your console.
- [CLI](https://sovaria.in/docs/cli-reference): `sov` for databases, functions, storage, imports and simulation from your terminal and CI.
