Secure Connection

HTTP requests made in a custom adapter will be sent from Workato by default. This means that all traffic will come through our IP addresses. However, you can also configure it to route all requests through an on-prem agent.

Enable connection through on-prem agent

By default, a custom adapter does not provide an option to connect through an on-prem agent. As a result, when setting up a connection, there will not be a way to configure it.

Connection without option to use OPA Connection without option to use OPA

To enable the option for connecting through an OPA, all you have to do is add the secure_tunnel property in your custom adapter code. This should be set to true and be defined as a top level property.

{
  title: "Mandrill",

  # This is needed for OPA
  secure_tunnel: true,

  connection: {
    fields: [
      {
        name: 'api_key',
        label: 'API key',
        control_type: 'password',
        optional: false
      }
    ],
  },

  test: {
    # Some code here
  },
  actions: {
    # Some code here
  },
  triggers: {
    # Some code here
  },
  object_definitions: {
    # Some code here
  },
  picklists: {
    # Some code here
  },
  methods: {
    # Some code here
  },
}

With this property added, an input field will be visible when setting up a connection to choose an existing on-prem agent in your account.

Connection with option to use OPA Connection with option to use OPA

Learn how to setup an on-prem agent here.

Other authentication methods

Check out the other authentication methods we support as well as how to set up a custom connector that works for on-premise connections. Go back to our list of authentication methods or check our our best practices for some tips.

Next section

If you're already familiar with the authentication methods we support, check out the actions that our SDK supports as well as how to implement them. Learn more

results matching ""

    No results matching ""