In this tutorial, we’re going to show you how you can add a Slack OAuth integration to PixieBrix.
Using this integration you will be able to successfully authenticate with a 3rd party service, in this way you can send data to it.
Here are some examples of apps that we integrate with
In our example, we’re going to use the following extension:
This extension allows you to send an individual tweet to a specific channel on Slack.
Specifically, you will be able to send this data to a Slack channel of your choice, on a Slack workspace you have authenticated with.
Adding or selecting an OAuth integration
Authenticate your preferred workspace with PixieBrix
When you install an extension like this one, you are prompted to specify whether you want to use an existing integration from the dropdown (as shown below) or add a new integration.
In the scenario where you are trying to connect to a Slack workspace for the first time, then you should select the option Configure:
Configuring the Integration
At this point, you will be greeted with the following modal:
- Click the purple Configure button to advance to the next step, where you will be redirected to authenticate with the Slack Workspace you’re trying to give PixieBrix access to.
After going through the authentication flow you’re going to be asked to allow the PixieBrix app for Slack to access your workspace.
Click the green Allow button to be redirected to PixieBrix and complete the setup.
At this point, you will be redirect back to PixieBrix meaning that the integration has been set-up correctly!
Finalizing the activation of the Extension
This also means that your extension can be activated, so navigate back to the activation flow for the extension, select the newly added Slack integration with OAuth from the dropdown (and any other configuration options) and click Activate.
If you’ve already connected one or more OAuth apps with PixieBrix
If you have already authenticated with the PixieBrix Community Slack Workspace, you will be able to select it from the dropdown
If you’ve already connected one or more OAuth apps with PixieBrix, but you want to add one more.
From the dropdown under Integrations select Add New.