Creating a Discord Application
Sign in to Discord Developer Portal
Go to the Discord Developer Portal and sign in with your Discord account.
Create a new application
Click the “New Application” button in the top right corner. Enter a name for your application and click “Create”.
Navigate to OAuth2 settings
In the left sidebar, click on “OAuth2” to access the OAuth2 configuration page.
Copy your credentials
On the OAuth2 page, you’ll find your:
- Client ID: Copy this value
- Client Secret: Click “Reset Secret” to generate a new secret (or use an existing one), then copy it
Add redirect URL
Scroll down to the “Redirects” section and add your Nango callback URL:Click “Add Redirect” to save it.
Select OAuth2 scopes
Scroll down to the “OAuth2 URL Generator” section to see available scopes. Common scopes include:
identify: Access basic user informationemail: Access user’s email addressguilds: Access user’s guilds (servers)connections: Access user’s connected accounts