Tools › OAuth2 URL generator
Discord OAuth2 URL generator
Pick the scopes and permissions, paste your client ID, and copy a ready link to add your bot or sign people in with Discord.
Your app
ScopesPick permissions
Your link
How to use it
- Paste the client IDIt is on your app's OAuth2 page in the Discord Developer Portal.
- Pick scopesbot and applications.commands add a bot; identify, guilds and email sign people in.
- Copy the linkShare it, put it on your website, or open it to add the bot.
Questions
Why does my link say "invalid redirect_uri"?
The redirect URL must match one saved in the Developer Portal exactly, including https and the trailing slash.
Which permissions should my bot ask for?
Only what it uses. Fewer permissions make people more willing to add it. Avoid Administrator.
Do bot invites need a redirect URL?
No. With only bot and applications.commands, Discord shows its own server picker.
Related tools
Made a bot? List it on Nunu List and post your server count with the API.