---
sourceDocument: Brazil IT Operations Management
sourceDocumentLink: https://www.servicenow.com/docs/r/it-operations-management

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Switch ACC to another instance

# Switch ACC from one instance to another {#ariaid-title1}

Release version: Brazil  
Updated November 5, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read  
Switch Agent Client Collector (ACC) to a different instance.

## Before you begin

The Agent Client Collector (ACC) must be installed and the ACC registration key must be set up. For information about how to set up and install ACC, see the following topics:

* [Create an ACC registration key](https://www.servicenow.com/docs/6tA3pQ39D~DFsAcQNVW2PA "Set up an Agent Client Collector (ACC) by creating an agent registration key to identify and authenticate agents that are enabled to send data to the collector. The key helps promote the security and integrity of the data collected from the system.").
* [Install the Agent Client Collector on a Windows machine manually](https://www.servicenow.com/docs/ZaE9sxT3u8f929yJ7J0vPA "Install the Agent Client Collector on a Windows machine manually when you want to test the agent on a single system.") or [Manually install Agent Client Collector on macOS](https://www.servicenow.com/docs/u9LNd~GuTN955YI5EFsefQ "Install Agent Client Collector manually on a machine that uses macOS when the agent is not connected to the instance or you want enhanced customization options.").
{#convert-agent-instance__ul_cnn_m1t_2xb}

Role required: agent_admin and agent_client_collector_admin

For more information about roles, see [Agent Client Collector user roles](https://www.servicenow.com/docs/DvbW2mf96r3qBREYJEBYQg "Administrators can assign user roles to grant access to the Agent Client Collector. The following standard roles for the Agent Client Collector Framework (ACC-F) are included in the ServiceNow system with the Agent Client Collector installed on it.").

## About this task

If ACC is already connected to one instance, you can switch the agent to another instance by changing the configuration in acc.yml.

## Procedure

1. Stop ACC with the steps appropriate for your operating system.  
   * For Windows, access Services as Administrator and stop the Agent Client Collector service.
   * For macOS, execute the command: `sudo launchctl unload -w /Library/LaunchDaemons/com.sn.acc.plist;`
   {#convert-agent-instance__ul_vyn_532_cbc}
2. Open the acc.yml file.
   * Windows: C:\\ProgramData\\ServiceNow\\agent-client-collector\\config
   * macOS: /Library/Application\\ Support/servicenow/agent-client-collector/
   {#convert-agent-instance__choices_hv4_msb_h2c}
3. Edit the backend-url parameter to point to \<ITOM Cloud Services Gateway\>.  
   Use any of the following gateways based on the instance location:
   * AMER: itomcnc-prod-gateway-amer.sncapps.service-now.com:443
   * EMEA: itomcnc-prod-gateway-emea.sncapps.service-now.com:443
   * APAC: itomcnc-prod-gateway-apac.sncapps.service-now.com:443
   {#convert-agent-instance__ul_alf_cph_hxb}

   For more information about how the agent uses the ITOM Cloud Services Gateway, see [DEX architecture](https://www.servicenow.com/docs/3MXrX_mX8omJIEun7BmhJw "Digital End-User Experience (DEX) architecture describes the cloud-native services, endpoint agents, and data flows that connect end-user devices to your ServiceNow instance.").
4. Update the following parameters:  
   * connect-without-mid: `true`
   * instance-url: \<full_instance_url\>, for example, https://\<instance-name\>.service-now.com
   * registration-key: \<registration key value\>

     For more information about how to create a registration key, see [Create an ACC registration key](https://www.servicenow.com/docs/6tA3pQ39D~DFsAcQNVW2PA "Set up an Agent Client Collector (ACC) by creating an agent registration key to identify and authenticate agents that are enabled to send data to the collector. The key helps promote the security and integrity of the data collected from the system.").
   {#convert-agent-instance__ul_dlh_f3q_2xb}
5. Save the file.
6. Delete files based on your operating system.  
   * On Windows, navigate to /agent-client-collector/config/cert/cnc and remove the following files: cnc_chain.crt and priv_key.pem.go.
   * On macOS, access /Library/Application Support/servicenow/agent-client-collector/cert/cnc and delete the files: cnc_chain.crt and priv_key.pem.
   {#convert-agent-instance__ul_bgk_z32_cbc}
7. Delete the following folders based on your operating system.  
   * On Windows, delete the folder: /agent-client-collector/cache.
   * On macOS:
     * For Agent 3.4.1 or later, delete the folder: /Library/Application Support/servicenow/agent-client-collector/cache.
     * For Agent 3.4.0 or earlier, delete the folder: /Library/Caches/servicenow/agent-client-collector.
     {#convert-agent-instance__ul_zyp_sj2_cbc}
   {#convert-agent-instance__ul_vsd_4j2_cbc}
8. **Optional:** If you have connected this ACC to another instance before, do the following:
   1. Copy your device serial number.
   2. In the Agent Client Collectors \[sn_agent_cmdb_ci_agent\] table, search using your device serial number.  
      Note:  
      Add the Agent ID column to the list view if it isn't available.
   3. If you find a record, copy the record Agent ID.
   4. In the Agent Registrations \[sn_agent_agent_registration\] table, search using the record Agent ID.
   5. Delete any records resulting from the search.
   {#convert-agent-instance__substeps_wbj_v3b_j2c}
9. Start the ACC service by following the steps specific to your operating system.  
   * On Windows, open Services as Administrator, then start Agent Client Collector.
   * On macOS, use the command: `sudo launchctl load -w /Library/LaunchDaemons/com.sn.acc.plist`.
   {#convert-agent-instance__ul_pzf_zj2_cbc}
{#convert-agent-instance__steps_xlq_k22_cbc}

