Make a web request: Authentication

Alex Pribula
Alex Pribula
  • Updated

You can add authentication to any web requests to external services by adding secure credentials in Integrations.

In this article you will learn how to add and manage secure credentials in Pendula.

What is a credential?

Pendula can authenticate each HTTP request made with Make a web request using secure credentials. Having a credential with the request ensures the communication between Pendula and the external application is secure, and is required in some cases.

Currently, Pendula supports securely storing: request headers, bearer token and username and password. 

Adding credentials to Pendula

In the Integrations page, go to Setup new connection and select Web request credentials.

web request.png

Then, you will need to select the type of credentials you wish to store.

Adding a request header

Request header are key-value pairs that are in the header of the HTTP request.

  1. Give a unique, helpful name to the credentials.
  2. Add an optional description to further describe what the credentials are used for (e.g. Sales CRM authentication).
  3. Enter credentials key-value format.
  4. Save credentials

headers.png

Adding a bearer token

A bearer token is a string that is passed in the Authorization header of the HTTP request.

  1. Give a unique, helpful name to the credentials.
  2. Add an optional description to further describe this integration.
  3. Enter bearer token.
  4. Save credentials

bearer.png

Adding a username and password

Username and password that is passed in the Authorization header of the HTTP request.

  1. Give a unique, helpful name to the credentials.
  2. Add an optional description to further describe this integration.
  3. Enter username and password.
  4. Save credentials.

username.png

Adding saved credentials to web requests

Once your credentials has been saved in Pendula, these credentials can be referenced and used when configuring Make a web request node.

Updating credentials

    1. Navigate to Integrations > Connections, and select on the settings icons of the credential.
    2. Update fields as necessary.
    3. Update connection.
Note that you cannot read credentials before updating them as they are stored securely and cannot be surfaced.