Skip to main content
A Reddit script app is personal - it only works for accounts listed as a developer of that app. Create your own app rather than reusing someone else’s.

Create a script app

Register a script-type app in Reddit’s app preferences. The app belongs to the same Reddit account the integration will act as.

1

Open the apps page

Sign in to Reddit, click your profile icon, then click Settings.

  • On the Account tab, under Apps, click OAuth app settings.
  • Scroll to the bottom of the page.
  • Click are you a developer? create an app… to open the form.
2

Fill out app details

Provide the app metadata.

  • app name: StackOne Script
  • Select the script radio button.
  • redirect uri: http://localhost
  • Click create app.
3

Copy the app credentials

After creation the new app card shows the credentials you need. A script app’s token carries full scope, so there is no permission screen to configure.

  • Copy the string under the app name (just below “personal use script”) across as the Client ID.
  • Click edit next to the app, then copy the secret across as the Client Secret.

Enter the Reddit account

The integration signs in as one Reddit account, so these are that account’s own sign-in details. It must be the account that created the app, or one added to it as a developer.

1

Enter the account credentials

Reddit rejects any account that is not listed as a developer of the app. The creator is added automatically.

  • Reddit Username: the username of that account, without the u/ prefix
  • Reddit Password: that account’s password
  • If the account has two-factor authentication enabled, append the current code to the password, as in mypassword:123456.

Set a User Agent

Reddit requires a descriptive User-Agent header on every API call, and throttles requests that send a generic or duplicated one.

1

Enter a User Agent

You write the User Agent value yourself — there is nothing to copy from Reddit. Use the same Reddit username you entered above.

  • Format: platform:appid:version (by /u/username)
  • Example: stackone-reddit-connector/1.0 (by /u/your_reddit_username)
1

Connect

  • Click Connect.
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup.
2

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.