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

> ## Agent Instructions
> Authenticate with the raw API key in the Authorization header. Never add a Bearer prefix.
> Use the sandbox base URL https://api.test.doola.com and a dk_test_ key in examples unless the user asks for production.
> Send an Idempotency-Key header on POST /v1/partner/customers, POST /v1/partner/companies, POST /v1/partner/companies/import, POST /v1/partner/companies/{companyId}/services and POST /v1/partner/companies/{companyId}/documents. No other endpoint takes one.
> Every response is wrapped as {payload, error}. Read fields from payload and branch on error.code, never on the message.
> Drive formation progress from webhooks plus a reconciliation sweep, never a polling loop.
> Embedded SDK (@doola/js): the dk_ key stays on the server and mints customer sessions; the browser gets only a pk_ key and the session. onFormed carries only companyId and can fire more than once. Before charging, read the company with the dk_ key, require formationSubmissionStatus AWAITING_PAYMENT, check the owner's email, and price on the server. Then POST payment-confirmed, which answers 200 with an empty body, and replace the SDK element with a new doola.create() (never append a second one).
> The doola Formation MCP server at https://mcp.doola.com is for founders forming their own company with their own doola account. Platform partners integrate the Partner API or the Embedded SDK. The /mcp endpoint on this docs site only searches these docs.
> Affiliates refer founders to doola with a PartnerStack referral link and coupon code, or with two doola-branded iframe widgets: the Demo Booking Widget (app.doola.com/embed/book-demo?link=<referral link>) and the Company Formation Widget (app.doola.com/embed/partner/<partner ID>). The widgets need no API key and are not the Embedded SDK. Copy the snippets exactly as documented, never add a sandbox attribute to the formation widget iframe.
> For a full capability summary with the rules above, read https://docs.doola.com/skill.md.

# doola Affiliate Program

> Everything you need to promote doola, from your first referral link to ready-to-post copy, in one place.

doola helps founders anywhere in the world start, run and grow a US business: company formation, EIN, registered agent, bookkeeping, taxes and compliance, all in one dashboard. As a partner, you introduce doola to your audience, they get an exclusive discount, and you earn a commission on every customer you refer.

Your audience signs up with doola and becomes a doola customer, so doola's team handles their onboarding and support from day one. Building company formation into your own product, under your own brand? See the [Embedded SDK](https://docs.doola.com/sdk/overview.md) instead.

> [!TIP]
>
> New here? Start with [Getting started](https://docs.doola.com/affiliates/getting-started.md). It takes about 5 minutes and covers your link, your code and how you get paid.

## What you need

* An approved doola partner account in PartnerStack
* Your **referral link**, which tracks every visitor you send
* Your **coupon code**, which gives your audience their discount

## What you get as a partner

| Benefit | Details |
| - | - |
| **Commission** | Earnings on every customer you refer. Your terms are set in your partner agreement. |
| **Audience discount** | An exclusive discount for your audience through your coupon code |
| **Payouts** | Paid through PartnerStack |
| **Tracking** | Clicks, signups, customers and commissions, live in your PartnerStack dashboard |
| **Support** | A dedicated account manager, plus [bd-team@doola.com](mailto:bd-team@doola.com) |

## How it works

**1. Share**

Share your custom referral link and coupon code with your audience.

**2. Your audience signs up**

They sign up with doola and get their exclusive discount.

**3. You earn**

You earn on every customer you refer, tracked and paid through PartnerStack.

## Explore the docs

> [card] [Getting started](https://docs.doola.com/affiliates/getting-started.md)
>
> Your link, your code and your first 30 days.

> [card] [Commissions, discounts and payouts](https://docs.doola.com/affiliates/commissions.md)
>
> How earnings, discounts and payouts work, and doola's plans.

> [card] [Ways to integrate](https://docs.doola.com/affiliates/integrations.md)
>
> Referral link, Demo Booking Widget or Company Formation Widget.

> [card] [Content playbook](https://docs.doola.com/affiliates/content-playbook.md)
>
> Where doola fits, talking points, video ideas and examples.

> [card] [Ready-to-use copy](https://docs.doola.com/affiliates/copy.md)
>
> Emails, newsletters, social posts and video scripts.

> [card] [Brand assets and company info](https://docs.doola.com/affiliates/brand-assets.md)
>
> Logos, marketing assets, product demo and company boilerplate.

> [card] [Program guidelines](https://docs.doola.com/affiliates/guidelines.md)
>
> How to promote doola, and what doola handles for you.

> [card] [FAQ](https://docs.doola.com/affiliates/faq.md)
>
> Answers to the questions partners ask most.

## Need help?

Reach out to your account manager, or email [bd-team@doola.com](mailto:bd-team@doola.com).


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