# Configure Revolut ID OAuthClient client

Before integrating the Revolut ID SDK, you need to configure your Revolut ID OAuthClient in the [Revolut Business](https://business.revolut.com/settings/apis?tab=oauth-api):

## Setup steps

1. **Create an application** in the [Revolut Business](https://business.revolut.com/settings/apis?tab=oauth-api)
2. **Configure redirect URIs** - Add your application's callback URLs for both development and production
3. **Set up scopes** - Request the specific user data permissions your application needs
4. **Get your client credentials** - Obtain your `clientId` and `clientSecret` for created OAuthClient
5. **Configure environments** - Set up both sandbox (for testing) and production configurations

## Required configuration parameters

- **`clientId`**: Your unique application identifier from the Developer Portal
- **`redirectUri`**: URL where users return after authentication (must match Portal configuration)
- **`scope`**: Array of OpenID scopes defining what user data you want to access

## Available scopes

The following OpenID scopes are available for requesting user data:

- **`openid`**: Required - Basic OpenID Connect authentication
- **`profile`**: User's basic profile information
- **`name`**: User's full name
- **`email`**: User's email address
- **`phone`**: User's phone number
- **`address`**: User's residential address information
- **`birthdate`**: User's date of birth
- **`citizenship`**: Access to user's document verification status

## Environment configuration

Please note that OAuth client must be created in the correct environment and can be used in corresponding environment only.

### Sandbox environment

- Used for development and testing
- Requires sandbox `clientId`
- Uses test data and simulated flows

Revolut Business Sandbox: [Revolut Business (Sandbox)](https://sandbox-business.revolut.com/settings/apis?tab=oauth-api)

### Production environment

- Used for live applications
- Requires production `clientId`
- Processes real user authentication

Revolut Business Production: [Revolut Business](https://business.revolut.com/settings/apis?tab=oauth-api)

## Next steps

Once your client is configured, proceed to the [Integrate SDK](/docs/sdks/revolut-id-sdk/web/integrate-sdk/java-script) guide to integrate the SDK into your application.