> For the complete documentation index, see [llms.txt](https://docs.bluedev.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bluedev.xyz/premade-bots/invoice-bot/creating-a-paypal-application.md).

# Creating a PayPal application

Head to PayPal's [developer portal](https://developer.paypal.com/developer/applications/) and create either a Sandbox or a Live application. I recommend creating a sandbox application (fake payments) while testing the bot and switching to live when you're ready to make the bot public.

After you get the credentials, add them to your `.env` file:

```properties
...
PAYPAL_SECRET=
PAYPAL_CLIENT_ID=
```

<figure><img src="/files/2OnagexAQc69hHPqc5Li" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/rn44P9hDF4RK8wK3HY94" alt=""><figcaption></figcaption></figure>
