> ## Documentation Index
> Fetch the complete documentation index at: https://docs.onsiren.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Integrations

> The services Siren uses for execution, data, auth, swaps, and messaging.

# Integrations

Siren connects to several external services. Here is what each one does.

***

## DFlow (Kalshi execution)

[DFlow](https://pond.dflow.net) connects Siren to Kalshi prediction markets.

Handles: market data, trade submission, position tracking.

Env vars: `DFLOW_API_KEY`, `DFLOW_METADATA_API_URL`, `DFLOW_QUOTE_API_URL`

Docs: [DFlow docs](https://dflow.mintlify.app)

***

## Polymarket

[Polymarket](https://polymarket.com) is the second market source.

Handles: market ingestion, cross-venue price comparison, trade execution.

Env vars: `POLYMARKET_API_KEY`, `POLYMARKET_SECRET`, `POLYMARKET_PASSPHRASE`, `POLYMARKET_HOST`

***

## Jupiter

[Jupiter](https://jup.ag) handles onchain token swaps inside Siren.

Handles: SOL-to-USDC swaps, token-to-token swaps across Solana liquidity.

Env vars: `JUPITER_API_KEY`

Docs: [Jupiter docs](https://station.jup.ag/docs)

***

## Supabase

[Supabase](https://supabase.com) is the database layer.

Handles: user data, trade logging, leaderboard data, admin dashboard, campaign data.

Env vars: `SUPABASE_URL`, `SUPABASE_SERVICE_ROLE_KEY`

Docs: [Supabase docs](https://supabase.com/docs)

***

## Privy

[Privy](https://privy.io) handles authentication and wallets.

Handles: social login (email, Google, Twitter), embedded Solana wallets, session management.

Env vars: `NEXT_PUBLIC_PRIVY_APP_ID`

Docs: [Privy docs](https://docs.privy.io)

***

## GoldRush / Covalent

[GoldRush](https://goldrush.dev) provides wallet activity data.

Handles: transaction history, token balances, wallet activity feed.

***

## Resend

[Resend](https://resend.com) sends emails.

Handles: onboarding emails, campaign emails, transactional notifications.

Env vars: `RESEND_API_KEY`, `SIREN_EMAIL_FROM`, `SIREN_APP_URL`

Docs: [Resend docs](https://resend.com/docs/send-with-nodejs)

***

## Torque

[Torque](https://torque.so) powers onchain campaign mechanics.

Handles: trading competitions, reward distribution, campaign tracking.

***

## Summary

| Service    | Role                               |
| ---------- | ---------------------------------- |
| DFlow      | Kalshi market data and execution   |
| Polymarket | Second market source and execution |
| Jupiter    | Onchain token swaps                |
| Supabase   | Database and logging               |
| Privy      | Auth and embedded wallets          |
| GoldRush   | Wallet activity data               |
| Resend     | Email delivery                     |
| Torque     | Onchain campaigns                  |
