Access Token for Slack

Configure an access token to connect to Slack.

Figure: Slack Access Token Configuration screen

Slack Access Token Configuration screen

Background and Setup

Good to Know

  • In most cases, you can use a global access token or an app level access token:
    • Global access tokens are shared across all users and apps. If you want all process designers and runtime app users in your AgilePoint NX tenant to be able to connect to an external data source, use a global access token. An example is a SharePoint site on an intranet that all employees in a company can access.
    • Application level access tokens are shared with all processes in a process-based app, or restricted to use within a form-based app. Use application level access tokens if only process designers or runtime app users for a particular application should access an external system — for example, a Box account that is only used to share files within a small team.
  • Access tokens are collections of credentials that are used to authenticate communication directly between AgilePoint NX and an external system. Because it is the AgilePoint NX system that uses these credentials, rather than an app, there is no difference between design time and runtime access tokens. Access tokens are never checked in or published, and they do not use version control. If you change an access token in App Builder or Manage Center, the access token changes immediately everywhere the access token is used. Changes to app level access tokens apply to all versions of an app, including running application instances. Changes to global access tokens apply everywhere they are used in AgilePoint NX. You can not roll back an access token to a previous version.

    For more information, refer to What Data Is Deleted When I Delete an App or Application Resource?

  • This screen may look different in different places. The UI varies for this screen depending upon how you open it. However, the fields for this screen are the same in all places.
  • Some information about third-party integrations is outside the scope of the AgilePoint NX Product Documentation. It is the responsibility of the vendors who create and maintain these technologies to provide this information. This includes specific business use cases and examples; explanations for third-party concepts; details about the data models and input and output data formats for third-party technologies; and various types of IDs, URL patterns, connection string formats, or other technical information that is specific to the third-party technologies. For more information, refer to Where Can I Find Information and Examples for Third-Party Integrations?

Fields

Field NameDefinition

Token Name

Description:
Specifies the unique name for your connection to Slack.
Allowed Values:
One line of text (a string).

Accepted:

  • Letters
  • Numbers
  • Spaces
Default Value:
None
Example:
This is a common configuration field that is used in many examples. Refer to:
  • Examples - Step-by-step use case examples, information about what types of examples are provided in the AgilePoint NX Product Documentation, and other resources where you can find more examples.

Description

Description:
A description for your access token.
Allowed Values:
More than one line of text.
Default Value:
None
Example:
This is a common configuration field that is used in many examples. Refer to:
  • Examples - Step-by-step use case examples, information about what types of examples are provided in the AgilePoint NX Product Documentation, and other resources where you can find more examples.

Application Access Token

Description:
Specifies if AgilePoint uses application access token to connect to Slack.
Allowed Values:
  • Selected - Uses application access token to connect to Slack.
  • Deselected - Uses custom integration access token to connect to Slack.
Default Value:
Selected

Get Bot Token

Description:
Specifies if AgilePoint uses bot token to connect to Slack.
To Open this Field:
  1. Click Application Access Token.
Allowed Values:
  • Selected - Uses application bot token to connect to Slack.
  • Deselected - Uses application or custom integration access token to connect to Slack.
Default Value:
Selected

Custom Integration

Description:
Specifies if AgilePoint uses custom integration access token to connect to Slack.
Allowed Values:
  • Selected - Uses custom integration access token to connect to Slack.
  • Deselected - Uses application access token to connect to Slack.
Default Value:
Deselected

Client ID

Description:
Specifies the client ID of the app you added in Slack.
To Open this Field:
  1. Click Application Access Token.
Allowed Values:
One line of text (a string).

Accepted:

  • Letters
  • Numbers
Default Value:
None

Client Secret ID

Description:
Specifies your client secret ID of the app you added in Slack.
To Open this Field:
  1. Click Application Access Token.
Allowed Values:
One line of text (a string).

Accepted:

  • Letters
  • Numbers
Default Value:
None

Redirect URL

Description:
Specifies the callback URL from the connected application.
Allowed Values:
One line of text (a string) in URL format.
Default Value:
https://mysite.com/manage/shared/success.html
Example:
Refer to:

Bot Access Token

Description:
Specifies the bot access token for bot user to connect to Slack.
To Open this Field:
  1. Click Application Access Token.
  2. Click Get Bot Token.

Get OAuth2 Access Token

Function:
Sends a request to the Slack service to get the access token.

To complete this process, you must sign in to Slack, and specify your consent when prompted.

To Open this Field:
  1. Click Application Access Token.

OAuth2 Access Token

Description:
Specifies an OAuth 2.0 access token from Slack.
Allowed Values:
An OAuth 2.0 access token.
Default Value:
None.

Encrypt

Description:
Stores the access token in the AgilePoint database as encrypted data.
Note: AgilePoint recommends you to store this access token in the database in encrypted format.
Allowed Values:
  • Deselected - The access token is in plain text in the database.
  • Selected - The access token is encrypted in the database.
Default Value:
Selected
Limitations:
  • This field was removed from the UI in AgilePoint NX OnPremises and Private Cloud v7.0 Software Update 2. Access token credentials are encrypted by default. If you want to store credentials in unencrypted format, contact AgilePoint Customer Support.