# 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="https://2979467842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7KaJ2CLD50GK1P7ClS%2Fuploads%2Fc2Hohft2XGcAvrEOLMU1%2Fimage1.png?alt=media&#x26;token=4dd4fb4c-d2db-4afe-8867-6a44dbe27deb" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2979467842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7KaJ2CLD50GK1P7ClS%2Fuploads%2FNCWPmeBrQJLmzD1QR31F%2Fimage.png?alt=media&#x26;token=db8d2d58-9e4b-4203-b3b1-4d227ecb4d9a" alt=""><figcaption></figcaption></figure>
