# OAuth credentials

Each app listing will have two sets of credentials: one for testing/development purposes (sandbox credentials) and one for production usage (production credentials).

| **Credential Type** | **Description** |
| --- | --- |
| **Sandbox credentials** | These are the credentials that should be used any time you want to install your sandbox app in your test company. Customers should never use these credentials. |
| **Production Credentials** | These are the credentials that will be used any time a customer goes to install your app listing. |

  

## Find your credentials

Each credential is comprised of a **client ID** and **client secret**. The credentials can be found on your app listing by navigating to the **Integration** tab and then clicking on **Credentials**.

![oauth1](https://developer.rippling.com/assets/images/oauth1-088dfdec80f867d19cb82ca8927132fc.png)

**Sandbox credentials**

The _Credentials > Sandbox_ tab will only display a client ID/client secret if you have already [deployed](https://developer.rippling.com/documentation/developer-portal/creating-publishing/deploy) your sandbox app listing. These credentials will need to be used to install your sandbox app in your test company.

**Production credentials**

Once the app listing has been approved for [beta testing](https://developer.rippling.com/documentation/developer-portal/creating-publishing/testing), the _Credentials > Production_ tab will expose your client ID and secret that you should use for your production integration. This credential pair will be used by all customers when they install your app.

## FAQs

#### I don't know which credentials to use. Please help!

If you need to install your sandbox app in your test company, use your sandbox app credentials. If a customer needs to install your app, use your production credentials.

#### Will the credentials switch?

No, they will not.

#### Can I use my sandbox app credentials for my beta customers?

No, you cannot. You must use your production credentials.

#### I am getting a 401 error saying \`Invalid Client\` when I go to install my sandbox app in my test company.

This occurs when you are using the credentials for your production app instead of using the credentials for your sandbox app. Please ensure you are using the correct credentials.

Source: https://developer.rippling.com/documentation/developer-portal/v2-guides/oauth

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
