Prerequisites
Before you begin, ensure you have:
The
manifest.jsonfile provided by your AptEdge account representativeAccess to your AptEdge Admin Settings
Permission to create apps in your Slack workspace
Step 1: Create the Slack App from the Manifest
Open the manifest.json provided by your AptEdge account representative.
Copy the entire JSON contents.
Open https://api.slack.com/apps?new_app=1 and click “From manifest.”
Choose the Slack workspace where the app will be installed.
Click Next.
Paste the copied manifest JSON into the editor, replacing the existing contents.
Click Next.
Open the “Basic Information” page of the app settings.
The app icon to this
(left-click, then right-click and hit “Save image as…”):
Click “Save Changes”.
Step 2: Retrieve Your AptEdge Support Token
In another tab, navigate to your AptEdge instance (i.e. aptedge.aptedge.io)
-
Navigate to: Admin Settings -> Apps
-
Copy your Support App Token using the clipboard icon to the right.
Keep this tab open for later steps.
Step 3: Configure Interactivity & Shortcuts
Return to your tab where you are configuring your Slack app settings.
Open "Interactivity & Shortcuts"
-
Update the Request URL by replacing:
Replace [INSTANCE_NAME] with the name of your Instance.
Replace [SUPPORT_TOKEN] with the token you copied from your clipboard.
Click Save Changes
Step 4: Configure Event Subscriptions
-
Open "Event Subscriptions"
-
Update the Request URL by replacing:
Replace [INSTANCE_NAME] with the name of your Instance.
Replace [SUPPORT_TOKEN] with the token you copied from your clipboard.
You should now see "Verified" with a green checkmark above the URL.
Click Save Changes.
Step 5: Install the Slack App
- In the Slack app settings, go to: Settings -> Install App
- Install the Application to the applicable Slack Instance.
- Navigate to "OAuth & permissions"
- Under OAuth Tokens, copy the Bot User OAuth Token
- Return to your AptEdge instance, Admin Settings -> Apps
-
Under "Slack App", paste the copied token into the Token field and Save
Step 6: Testing the App
-
Add the app to a Slack channel.
Open a Slack channel.
In the top right, click the person icon (e.g. ).
In the modal that appears, click the “Integrations” tab.
In the “Apps” box, click “Add apps” or “Add an app.”
Search for “AskAptEdge” and click “Add.”
Inside the channel, "@AskAptedge your question"
A reaction emoji should be added to your message. After a short time, a response should be added in your message’s thread.
Comments
0 comments
Article is closed for comments.