{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":5103,"path":"conversational-interfaces/virtual-agent/prelink-va-users-integ-slack.md","title":"Link Virtual Agent requesters before integration with Slack","bundle":null,"doc_type":null,"release":"australia","body":"\n# Link Virtual Agent requesters before integration with Slack\n\nLink your Virtual Agent requesters to a ServiceNow instance before they run the Conversational Integration with Slack. Batch linking lets your Virtual Agent users chat immediately and receive notifications without going through the initial authentication linking process.\n\n## Before you begin\n\n-   [Manage the ServiceNow Virtual Agent integration with Slack](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/conversational-interfaces/virtual-agent/configure-va-slack.md), with the **Automatically Link ServiceNow user profiles** option enabled.\n-   [Set up Slack Spoke](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/integrate-applications/set-up-slack.md).\n\nRoles required:\n\n-   virtual\\_agent\\_admin\n-   One of the following Slack administrator roles:\n    -   Global Administrator\n    -   Application Administrator\n    -   Cloud Application Administrator\n-   admin or schedule\\_admin to change the scheduled job script\n\n## About this task\n\nWhen you enable the **Automatically Link ServiceNow user profiles** option, a batch of up to 10,000 users is linked automatically to a ServiceNow instance. Your existing users are linked during the initial run. Newly added users are linked during subsequent daily runs.\n\nTo prevent automatic batch linking, disable the **Automatically Link ServiceNow user profiles** option on the Messaging Apps Integration UI page.\n\nBatch linking includes the following benefits:\n\n-   Notifications are proactively sent by Virtual Agent to users when their identity in Slack is associated with their identity in a ServiceNow instance. This is also true when the user is already linked with Virtual Agent.\n-   If a user is linked and Slack notifications are enabled in the app, notifications are pushed even when a user is not logged into a Slack account.\n\nBatch linking happens automatically during the **Slack Daily Pre-Link Job** scheduled job. This job runs by default at a scheduled time \\(time is displayed in the time zone of the system administrator\\), and you can change the time, if desired. To modify the default scheduled job run time or time zone, access the **Slack Daily Pre-Link Job** Scheduled Script Execution form.\n\n## Procedure\n\n1.  Navigate to **All** &gt; **System Definition** &gt; **Scheduled Jobs**.\n\n2.  Search for the **Slack Daily Pre-Link Job** scheduled job and select it to open the Scheduled Script Execution form for the record.\n\n3.  In the **Run** field, change the run time to your desired time.\n\n4.  For a description of the other fields that you can change in this form, including **Time zone**, see [Automatically run a script of your choosing](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-administration/t_ScheduleAScriptExecution.md).\n\n5.  Select **Save**.\n\n\n**Parent Topic:**[Configure Virtual Agent settings for Slack](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/conversational-interfaces/virtual-agent/configure-va-slack-settings.md)\n\n"}}