n8n-docs/docs/integrations/credentials/reddit.md
2022-04-13 09:56:05 +01:00

34 lines
1.6 KiB
Markdown

# Reddit
You can use these credentials to authenticate the following nodes with Reddit.
- [Reddit](/integrations/nodes/n8n-nodes-base.reddit/)
## Prerequisites
Create a [Reddit](https://reddit.com/) account.
## Using OAuth
1. Open [Reddit](https://reddit.com).
2. Click on your avatar on the top right and select 'User Settings'.
3. Click on the ***Safety & Privacy*** tab.
4. Scroll to the bottom and click on ***Manage third-party app authorization***.
5. Click on the ***are you a developer? create an app...*** button.
6. Enter the name of your application in the ***name*** field.
7. Copy the 'OAuth Callback URL' provided in the 'Reddit OAuth2 API' credentials in n8n.
8. Paste the URL in the ***redirect uri*** field.
9. Click on the ***create app*** button.
10. Copy the client ID displayed next to the app's icon.
11. Enter a name for your credentials in the ***Credentials Name*** field in the 'Reddit OAuth2 API' credentials in n8n.
12. Paste the client ID in the ***Client ID*** field in the 'Reddit OAuth2 API' credentials in n8n.
13. Copy the client secret from Reddit and paste it in the ***Client Secret*** field in the 'Reddit OAuth2 API' credentials in n8n.
14. Click on the circle button in the OAuth section to connect a Reddit account to n8n.
15. Click on the ***Save*** button to save your credentials.
The following video demonstrates the steps mentioned above.
<div class="video-container">
<iframe width="840" height="472.5" src="https://www.youtube.com/embed/YpsxuUHonVE" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>