This documentation supports releases of BMC Helix Intelligent Automation up to December 31, 2021. To view the latest version, select version 23.1 from the Product version menu.

Configuring the Ansible Tower connector

You configure an on-premises connector to establish a connection between BMC Helix Intelligent Automation and Ansible Tower. 

To configure an on-premises connector, you first create a plugin key, download the plugin installer, create credentials, and then run the plugin. After configuration, the relevant actions for a connector are available during policy creation. If a plugin key is used in a connector configuration once, you can reuse it for multiple connectors.

Task 1: To create a plugin key

  1. In the BMC Helix Intelligent Automation console, click Connectors > Plugin Keys tab.
  2. Click Create Plugin Key and do the following steps: 
    1. (Optional) Enter a new name for the plugin with which you want to associate the plugin key.
    2. (Optional) Update the expiry date for the plugin key.
      By default, a plugin key expires in 90 days. To ensure that the connector is running, you can extend the date before it expires.

    3. Click Download Plugin Key.
      creds.json file gets downloaded. 


      If you close the Create Plugin Key panel before downloading the key, you cannot download and use the plugin key. Instead, you need to create a new plugin key.

  3. Click Save.
    The plugin and the associated plugin key appear on the Plugins page.

Task 2: To download the plugin

You can download and run a plugin on a Linux or a Microsoft Windows server. This server should be accessible from the computer where the automation tool or application is installed. 

  1. In the BMC Helix Intelligent Automation console, click Connectors > Available Connectors and click Configure against the connector.
  2. On the following message that appears on the configure connector page, click the download & install link.

  3. On the Configure On-premises Connector page, click Download Plugin.
    The file is downloaded.
  4. Copy and extract the downloaded ZIP file and go to the remote-restapi-plugin directory.
  5. (For Linux only) Ensure that the file has the execute permission.

To create credentials by using the plugin key

A plugin requires credentials to authenticate and execute various actions on the target applications that are defined in an automation policy. The credential CLI utility enables you to create, search, update, and delete credentials for a plugin. 

The current release supports the credential CLI utility only on Linux. This server should be accessible from the server where the on-premise application is installed.

  1. On the Linux server, navigate to the directory where you have extracted the file.
    The remote-restapi-plugin directory contains
  2. Ensure that the file has the execute permission.
  3. Run the following create switch command to create credentials.
    Whenever credentials are created, a unique credential ID is assigned to it.

    ./ create -n <credentialsName> -i <credentials
    Example for Ansible Tower
    ./ create -n ansibleCreds -i -p ansible_tower -a basic

    In the example:

    • credentialsName: Enter a unique name for the credentials. A name can contain a maximum of 30 characters. Enclose the name in double quotes if it contains spaces.
      For example, AnsibleTower.

    • credentialsTargetID: Enter the target identifier based on the credentials provider.


      Ensure that you do not provide the same target ID while configuring any other connector. 

    • credentialsProviderID: Enter ansible_tower

    • authenticationType: 

      Enter one of the following authentication mechanisms with which you want to create the credentials. Plugin supports the following authentication mechanisms:

      Authentication MechanismauthenticationType
      API Key-basedapikey
  4. Enter the values for the following parameters when prompted:



    user nameEnter the Ansible Tower server user name.
    passwordEnter password for the user.

    Credentials are created successfully. 

Optional: To start the plugin as a batch or shell process

After successfully creating the credentials, run the plugin to enable the connector. 

  1. Navigate to the remote-restapi-plugin/config directory, and replace the creds.json file with the creds.json file that you have downloaded while creating the plugin key.
  2. Run the script to start the plugin.

Task 5: To test the plugin

BMC recommends that you test whether the plugin is able to connect to the automation tool or application successfully before creating automation policies. 

  1. In the BMC Helix Intelligent Automation console, click Connectors > PluginKeys.
  2. Click Actions > Test against the plugin that is used to configure the connector.
    A message appears that shows that the connection is successful. 

The Ansible Tower connector is configured and appears in the Configured Connectors tab with the status as Connected. 

If the connector is not successfully connected, the status appear as Disconnected. Click the  icon to view the error message and fix the configuration issue.  

Where to go from here

Now that the connector is configured successfully, you can create policies to execute actions supported by Ansible Tower. For more information, see Launching a job template

Was this page helpful? Yes No Submitting... Thank you


  1. Jon Brent Fournet

    The default port for ansible tower connector is 443 and not 6443, please change it in the example above

    ./ create -n ansibleCreds -i -p ansible_tower -a basic

    Jun 01, 2022 08:01
    1. Shweta Hardikar

      Hi Jon,

      Thanks for pointing it out. Made the change. 

      Jun 01, 2022 11:43