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

# Dodo Payments Setup Guide

> Step-by-step guide to connect Dodo Payments API Keys, Global MoR Checkouts, and Webhooks to Indic8.

Connect Dodo Payments to track global Merchant of Record checkouts, SaaS subscriptions, license sales, and tax-normalized payouts.

## What You Need to Connect

| Credential | Where to find it in Dodo Payments | Description |
| :- | :- | :- |
| **Dodo Payments API Key** | Developer > API Keys | Read-only API key to sync products, payments, and active subscriptions |
| **Webhook Signing Secret** | Developer > Webhooks | Verifies real-time webhook deliveries from Dodo Payments |

***

## Part 1: Generate a Dodo Payments API Key

**1. Open Dodo Payments Developer Settings**

1. Log in to your [Dodo Payments Dashboard](https://app.dodopayments.com).
2. In the sidebar, open **Developer > API Keys**.

**2. Create API Key**

1. Click **Create API Key**.
2. Set **Name** to `Indic8 Analytics Sync`.
3. Grant **Read-only** permissions for Payments, Subscriptions, and Products.
4. Copy the generated API key.

***

## Part 2: Connect Key in Indic8

1. In [Indic8](https://app.indic8.ing), go to **Providers > Connect Provider > Dodo Payments**.
2. Paste your API key into the **Dodo Payments API Key** field.
3. Click **Connect Dodo Payments**.

***

## Part 3: Set up Real-Time Webhooks

**1. Copy Indic8 Webhook URL**

In Indic8 **Providers > Connect Provider > Dodo Payments**, copy:

```text theme={null}
https://api.indic8.ing/v1/webhooks/dodo-payments/whk_live_xxxxxxxx
```

**2. Create Webhook Endpoint in Dodo Payments**

1. In Dodo Payments, go to **Developer > Webhooks**.
2. Click **Add Endpoint**.
3. Paste your Indic8 Webhook URL.
4. Select events: `payment.succeeded`, `payment.failed`, `subscription.active`, `subscription.renewed`, `subscription.cancelled`, and `refund.succeeded`.
5. Save the endpoint, copy the **Signing Secret**, and paste it into Indic8.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.