# Partner Dashboard

Hello & Welcome to your Partner Dashboard - while it looks complicated, we'll break it down for you in simple steps

Let's get started and straight into action! (We're assuming here you've followed the [Getting Started](/quick-start/agency-partner-setup/partners.md) guide and have all items in the checklist ready!)&#x20;

## Partner Settings

![Partner Settings](/files/-MSxIGMMgjtoBrFEtpY1)

1. **Partner Name:** This will be your Company Name (For e.g. ABC Inc.)
2. **Partner Logo:** Please make sure this is max 512x512px (colored)
3. **Partner Logo (On Navbar):** Same as above but in white color, 512x512px for best output.
4. **Footer Text:** This is the text that your customer websites will have to drive leads for you
5. **Terms & Conditions Link:** This will be a link to your T\&C page, we use <https://get.onwhats.app/terms> - though you should use your own 🙏🏼

## Stripe Settings

![Stripe Settings](/files/-MSxK2ApnhYyuJ0LX8rP)

Login or Create an account on Stripe, make sure **you're not in Test Mode** to bring these settings into action.

### **Stripe Secret Key**

![Click Create secret key](/files/-MSxMMnO-ra-suVWSoRf)

Go to Developers -> **API keys**

Give the secret key a name, for example: onWhatsApp Secret Key

Next, copy the key and paste it in the Partner Dashboard.

### **Publisher Key**

![Copy Publishable key](/files/-MSxN33x2pSy_N4Exm1f)

Copy & Paste the publisher key in the Partner Dashboard

### **Webhook Secret**

Go to Developers -> **Webhooks**

![Webhooks](/files/-MSxNiqvy8nq0_n8JNrD)

1. Click **+ Add endpoint**
2. Next, make sure you add the endpoints and URL as follows:\
   1\. **Endpoint URL:** this will be https\://***yourdomain.com***/seller/subscription/stripe-webhook (this is really important, make sure you key in your domain name)\
   2\. **Events to send:** here, please make sure you have all these events added\
   \&#xNAN;**- customer.subscription.updated**\
   **- customer.subscription.deleted**\
   **- customer.subscription.created**\
   **- payment\_*****intent . payment*****\_failed**\
   **- customer.deleted**\
   **- checkout.session.completed**\
   **- account.updated**\
   \
   The above are really important in order for you to manage subscriptions and systems to function well - check if all good and click **Add endpoint**\
   \
   See reference screenshot below:<br>

![Webhook & Endpoints](/files/-MSxPXM7-O55JyAmJ4VB)

As soon as you click Add endpoint, you will see something like this:

![](/files/-MSxQ0a_v0pOpvYyGP21)

**Signing secret is your Webhook secret**, copy and paste it to your Partner Dashboard

Next, set your monthly and yearly plan prices - we'll walk you through this on Stripe

## Create Products

On your Stripe Dashboard, click **Products** and and then **+ Add Product**

![Products](/files/-MSxRehbq9GKfwn_YzYW)

![+ Add product](/files/-MSxRuPCUn7FS6dyi1_R)

1. Add a ***monthly plan (recurring)***
2. Next, add a ***yearly product plan (recurring)***

Make sure you name the products to be easily identifiable 🤞🏼 (It should look something like this below)

![Product plans](/files/-MSxT2Uia0baSGDPbBmp)

Now to get your monthly & yearly plan ID, tap on the product and you'll see a screen like this

![Copy as shown above and paste in Monthly ID and Yearly ID](/files/-MSxUOYz8oDZG5QDQGr0)

## Subscription Display Settings

This is what your customers will see when signing up, fill in as per your settings and give them information of what each plan has, for example the ones we use onWhatsApp

![Subscription Display Settings](/files/-MSxVOfZlZ8-eOxOIjaI)

## Partner Domain (Most Important)

![Partner Domain Settings](/files/-MSxWTKJQsEJ4Gx0Rwo2)

1. **Partner Sub Domain:** This is automatically issued by onWhatsApp, you will not be able to change this. Though it has utmost importance, here's how you use it:\
   **partner455059** in the example above is your CNAME, to be mapped to your custom domain.
2. **Custom Domain to be linked to your partner domain:** For example your domain is abc.com, you need to create a CNAME record on cloudflare to partner455059.onwhats.app OR **A Record and point it to 13.213.165.175 👈🏼 (recommended)**\
   \
   \
   Here's what it'll look like to give you an example:

![](/files/-MSxZUo0m6S1gQduD909)

Hit **Save** and give it a couple of minutes to flush worldwide. You're all set!\
\
\&#xNAN;***Last step is to verify your e-mail to start sending Welcome, Verification and Order emails 👇🏼***

## Email Sending (Orders, Verification & Welcome Emails)

Fill in your from email address, for example, <hello@onwhats.app> is what we use, you should use your **own domain** (***make sure you can receive e-mails on this since a verification will be required***).

Follow the steps you get on your email to setup a TXT record on Cloudflare, give it about 10 minutes and you'll be good to go! 🚀


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://onwhatsapp.gitbook.io/quick-start/agency-partner-setup/partner-dashboard.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
