Due to rate limit restrictions in the Slack Web API, this connector has the following restrictions:
- Only one connector-plugin instance should be started.
- Only one fetching thread should be set when creating the datasource configuration.
Authentication
You must install a Slack application in the workspace that will be indexed before using the Slack V2 connector. See Slack’s Basic app setup for more information about installing a Slack application. Once the app is correctly installed in the workspace, Slack will provide an access token, which you will then use in the Slack V2 connector configuration.Required application scopes
The Slack application must provide access to the following User Token Scopes in order to work with Slack V2 connector:
Initial actions
The Slack V2 connector will perform the following actions at the beginning of each job:- Load all users in the users cache. This information will be used later to resolve user names when processing mentions in messages.
It will also be useful for avoiding requests to retrieve user’s metadata. - Load the channels to be processed using the channel filtering properties from the configuration.
This will be useful to establish a source of truth when determining whether a channel should be indexed or deleted on each job.
Document filtering
Profiles indexing | |
---|---|
Index profiles | Determines whether users are indexed |
Index guest profiles | Determines whether profiles from guest users are indexed |
Index inactive profiles | Determines whether profiles of deactivated users are indexed |
Channels indexing | |
Index channels | Determines whether a document per channel is indexed |
Index archived channels | Determines whether archived channels are indexed to the content collection |
Index public channels | Determines whether public channels are indexed |
Index private channels | Determines whether private channels are indexed |
Index direct messages | Determines whether direct and multi-party direct message only are indexed |
Channels to include | A list of the channel names to be included in the crawling process |
Messages indexing | |
Index messages | Determines whether messages from the channels are indexed |
Index bot messages | Determines where messages from bots in channels are indexed |
Index messages replies (threads) | Determines whether the replies (if applicable) to messages are indexed |
Crawling process
Due to limitations in the Slack Web API, edited and deleted messages cannot be retrieved. You must clear the datasource and start a new connectors job to index edited messages and/or remove deleted messages.
Crawl process diagram

Endpoints used in the crawling process
Endpoints | Description |
---|---|
https://slack.com/api/users.list | Lists all users in the workspace. This is not controlled by the properties in Document Filtering. All users are retrieved at the beginning of each job. |
https://slack.com/api/conversations.list | Lists the channels that should be indexed. This fetching is guided by the properties listed in Document Filtering. |
https://slack.com/api/conversations.members | Lists the members of specific channels being indexed. |
https://slack.com/api/conversations.history | Retrieves a page of messages from a specific channel |
https://slack.com/api/users.info | Retrieves the information of a single user, if it’s not present in the users cache (message document generation). |
https://slack.com/api/conversations.info | Retrieves the information of a single channel, if it’s not present in the channel’s cache (message document generation). |
https://slack.com/api/team.info | Retrieves the information of a team (message document generation). |
https://slack.com/api/conversations.replies | Retrieves a page of replies from a specific message from a channel. |
Message mentions processing
The Slack V2 connector retrieves messages from the Slack API in the following format:Incremental Crawling processors

Processor | Description |
---|---|
ProfilesCheckpointProcessor | Performs the following actions: ● Triggers the indexing of all user profiles and the profile’s ACL ● Verifies that profiles should still be indexed. If not, it deletes them ● Verifies guest and deleted profiles |
ChannelsCheckpointProcessor | Detects new and deleted channels by comparison and the triggers the re-indexing of the channel ACL documents. |
ChannelCheckpointProcessor | Verifies that the current channel should still be indexed. If the channel should still be indexed, then it triggers the indexing of new messages providing the timestamp (ts ) of the last seen message from the previous job. |
Security filtering
Security filtering processors
Processor | Description |
---|---|
ProfileAclProcessor | Builds a document representing a Slack user, which is then sent to the Access Control Collection. Regular users can access public channels, even if they are not members of the channel. Guest users can access only the channels they are members of. |
ChannelAclProcessor | Retrieves the current members of the given channel, builds a document with those values, and sends the document to the Access Control Collection. In public channels, an extra document is sent to the Access Control Collection to provide access to regular users who are not members of public groups. |
Access Control Document links

Security trimming rules
Security trimming uses the following rules:- All users (regular and guest) can see the profile of any user in the Slack workspace.
- All regular users can access public channels and messages, even if they are not members of the channel.
- Guest users can only access the public or private channels they are members of.
- Only the members of private channels can access the channel and messages.
- Only the users involved can access direct messages and multi-party direct messages.
Remote connectors
V2 connectors support running remotely in Fusion versions 5.7.1 and later.Configure remote V2 connectors
Configure remote V2 connectors
If you need to index data from behind a firewall, you can configure a V2 connector to run remotely on-premises using TLS-enabled gRPC.The gRPC connector backend is not supported in Fusion environments deployed on AWS.The
Prerequisites
Before you can set up an on-prem V2 connector, you must configure the egress from your network to allow HTTP/2 communication into the Fusion cloud. You can use a forward proxy server to act as an intermediary between the connector and Fusion.The following is required to run V2 connectors remotely:- The plugin zip file and the connector-plugin-standalone JAR.
- A configured connector backend gRPC endpoint.
- Username and password of a user with a
remote-connectors
oradmin
role. - If the host where the remote connector is running is not configured to trust the server’s TLS certificate, you must configure the file path of the trust certificate collection.
If your version of Fusion doesn’t have the
remote-connectors
role by default, you can create one. No API or UI permissions are required for the role.Connector compatibility
Only V2 connectors are able to run remotely on-premises. You also need the remote connector client JAR file that matches your Fusion version. You can download the latest files at V2 Connectors Downloads.Whenever you upgrade Fusion, you must also update your remote connectors to match the new version of Fusion.
System requirements
The following is required for the on-prem host of the remote connector:- (Fusion 5.9.0-5.9.10) JVM version 11
- (Fusion 5.9.11) JVM version 17
- Minimum of 2 CPUs
- 4GB Memory
Enable backend ingress
In yourvalues.yaml
file, configure this section as needed:-
Set
enabled
totrue
to enable the backend ingress. -
Set
pathtype
toPrefix
orExact
. -
Set
path
to the path where the backend will be available. -
Set
host
to the host where the backend will be available. -
In Fusion 5.9.6 only, you can set
ingressClassName
to one of the following:nginx
for Nginx Ingress Controlleralb
for AWS Application Load Balancer (ALB)
-
Configure TLS and certificates according to your CA’s procedures and policies.
TLS must be enabled in order to use AWS ALB for ingress.
Connector configuration example
Minimal example
Logback XML configuration file example
Run the remote connector
logging.config
property is optional. If not set, logging messages are sent to the console.Test communication
You can run the connector in communication testing mode. This mode tests the communication with the backend without running the plugin, reports the result, and exits.Encryption
In a deployment, communication to the connector’s backend server is encrypted using TLS. You should only run this configuration without TLS in a testing scenario. To disable TLS, setplain-text
to true
.Egress and proxy server configuration
One of the methods you can use to allow outbound communication from behind a firewall is a proxy server. You can configure a proxy server to allow certain communication traffic while blocking unauthorized communication. If you use a proxy server at the site where the connector is running, you must configure the following properties:- Host. The hosts where the proxy server is running.
- Port. The port the proxy server is listening to for communication requests.
- Credentials. Optional proxy server user and password.
Password encryption
If you use a login name and password in your configuration, run the following utility to encrypt the password:- Enter a user name and password in the connector configuration YAML.
-
Run the standalone JAR with this property:
- Retrieve the encrypted passwords from the log that is created.
- Replace the clear password in the configuration YAML with the encrypted password.
Connector restart (5.7 and earlier)
The connector will shut down automatically whenever the connection to the server is disrupted, to prevent it from getting into a bad state. Communication disruption can happen, for example, when the server running in theconnectors-backend
pod shuts down and is replaced by a new pod. Once the connector shuts down, connector configuration and job execution are disabled. To prevent that from happening, you should restart the connector as soon as possible.You can use Linux scripts and utilities to restart the connector automatically, such as Monit.Recoverable bridge (5.8 and later)
If communication to the remote connector is disrupted, the connector will try to recover communication and gRPC calls. By default, six attempts will be made to recover each gRPC call. The number of attempts can be configured with themax-grpc-retries
bridge parameters.Job expiration duration (5.9.5 only)
The timeout value for irresponsive backend jobs can be configured with thejob-expiration-duration-seconds
parameter. The default value is 120
seconds.Use the remote connector
Once the connector is running, it is available in the Datasources dropdown. If the standalone connector terminates, it disappears from the list of available connectors. Once it is re-run, it is available again and configured connector instances will not get lost.Enable asynchronous parsing (5.9 and later)
To separate document crawling from document parsing, enable Tika Asynchronous Parsing on remote V2 connectors.connector-plugins
entry in your values.yaml
file: