You can create multiple authentication configurations to connect Studio Modeler projects to external services and APIs. Authentication configurations can be reused by connectors, forms, and other project assets that require secure access to external systems.
If you have an existing authentication configuration, you can upload it as a JSON file instead of creating it from scratch. For more information, see Importing Project Assets.
To create an authentication configuration:
-
Do any of the following:
- Click Create > Authentication.
- Click the vertical ellipsis (
) button next to the Authentications drop-down button in the left-hand pane, then select Create.
The Create Authentication window is displayed.
- Enter a name in the Authentication name field.
- Optional: Enter a description in the Authentication description field.
-
Click Create Authentication.
The authentication configuration opens as a new tab. It can also be found in the Authentications drop-down menu on the left.
-
Select one of the authentication types from the drop-down
menu:
Authentication Type Description Basic Authentication In the header of the HTTP call, an Authorization header is included with a user and a password as a value. Bearer opaque token In the header of the HTTP call, an Authorization header is included with a value that starts with the word Bearer, followed by an encoded string that the target service can decode to identify the user. If you use this method, you need to include a non-expiring token. OAuth 2.0 Client Credentials grant The bearer token is created at runtime using OAuth2. You need to set the authorization server, the credentials of a user in OAuth2 (a client application), and the scopes that are going to be retrieved. This is the default setting without any defined Grant type. OAuth 2.0 Custom grant The bearer token is created in realtime using OAuth2. You need to set the authorization server, the credentials of a user in OAuth2 (a client application), and the scopes that are going to be retrieved. This is for custom settings with a specific Grant type. Simple Mail Transfer Protocol (SMTP) This authentication can be used to send mail notification from an application with a domain email address, instead of using the default address. This option works with every SMTP mail configuration.
To configure SMTP for Microsoft Azure mail account, you need to follow instructions to Create credentials for Simple Mail Transfer Protocol (SMTP) authentication in the Microsoft Azure documentation. The main requirement is to configure the Communication and Email Service Owner Role.
To configure SMTP for Google mail account, you need to follow instructions for Sending emails with SMTP server for Gmail in the Google documentation.
API Key Authentication (x-api-key) This authentication configuration can be used to execute processes and integrate with APIs. The system stores API keys provided by the customers and uses them in outgoing requests without risking exposing sensitive data. -
Optionally, deselect Secured so you can enter a user
name and password that is used when contacting the API.
Note:
When configuring authentication properties or connector parameters, use environment secret references instead of hardcoding credentials, API keys, tokens, or other sensitive values. Secrets are stored separately from application metadata, encrypted at rest, transmitted securely, and resolved only when needed during deployment or runtime.
Note that the secrets can be referenced in authentication and connector configuration only.
You can reference secrets defined in Studio Admin's Secrets section in authentication properties or connector parameters. Secrets are referenced by name using the ${secrets.SECRET_NAME} context expression, for example ${secrets.CLIENT_ID} or ${secrets.CLIENT_SECRET}.
CAUTION: It is not recommended to deselect the Secured checkbox. Only proceed if you fully understand the risks and have a valid reason to do so.If this option is deselected, then the following properties can be filled for all types of authentication configuration except for SMTP and API Key Authentication:Parameter Description Client id When using Client Credentials authentication, enter the client ID, for example: Client-1 Client secret When using Client Credentials authentication, enter the client secret for the API. For example: client.secret Endpoint When using Client Credentials authentication, enter the endpoint of the server. For example: client.endpoint. The endpoint entered is validated before you can save the authentication.
Scope When using Client Credentials authentication, enter one or more scope values that constitute a part of the API account you want to access. For example: api.account.one. The scope entered is validated before you can save the authentication. Grant type When using Bearer Token authentication, enter the bearer token for the API. For example: bearer-token. The token needs to be provided in advance, using the client identity set in the Administration Portal. For more information, see the External Applications section of the Content Innovation Cloud Administration Portal documentation.
To learn how to retrieve the token from the identity provider, see the Getting Started section of the Hyland Content REST API documentation.
Once the external service has the token, it can call the configured URL, adding the Authorization header to the request containing the token.
The following details can be filled for the Simple Mail Transfer Protocol (SMTP) authentication configuration:
Parameter Description Host The address of the server used to send mails given in the mail documentation. Port Port number given in the mail documentation. Username Username of the account that will be used to send the notifications. Password Password of the account that will be used to send the notifications. From address The address of the sender that will be used to send notifications. From name Optional: name displayed as the sender. Reply to address The address that will be used when the recipient of the notification hits the Reply button. The following details can be filled for the API Key Authentication authentication configuration:
Parameter Description Api Key API key that validates access to the system and stores a key. - Click the cloud button to save the authentication configuration.