Create a REST Connection

Create a Connection with REST in Hero_Flow

  1. Open Hero_Flow.
  2. Click Connections from the menu on the left.
  3. Click Create New Connection.

  4. Give the Connection a name and select REST from the drop-down list for Connection type.
  5. The REST Connection details screen is displayed with fields that need to be configured.

    • Select the authentication type from the drop-down list.
      • Basic authentication
        • Enter a username/password.
      • OAuth1.0a (Twitter only)
        • Enter a customer key/secret.
      • OAuth2 (Client Credentials Flow)
        • Enter a client ID, secret, and the token URI.
      • OAuth2 (Authentication Code Flow)
        • Enter a client ID, secret, auth URI, token URI, and scope.
      • No authentication
    • Enter the request base URL.
    • Enter requested headers and/or cookie parameters if the target API requires providing extra headers or meta data. (Optional)
      • These names and values are added to all Input, Output, and lookup Function requests.
      • Header and cookie parameters are stored encrypted for security. 
    • Enter the connection timeout value.
    • Enter the socket timeout value.
    • Check the box to enable automatic retries. (Optional)
    • Check the box to follow redirects. (Optional)


  6. Click Test connection. A confirmation message is displayed if the connection has been established.
  7. Click OK to finish saving the Connection in Hero_Flow.