Skip to main content

Credentials

Credentials play a crucial role in configuring authentication and connection details for your integrations.

You can create as many credentials as needed, and each must have a unique name.

Creating a Credential

To create a new credential, you can initiate the process from the Credentials page by clicking the New button at the top-right of the screen. Additionally, while editing a process code, you can start creating a new credential by clicking the Add button in the Credentials section on the right sidebar.

The credential creation form will then appear. Define the credential by selecting the integration type and providing the required information. Each integration page contains a Credential Configuration section explaining how to fill and obtain the necessary form data.

Using a Credential

Once a credential is defined, you can utilize it in your source code. Snippet suggestions are available for each integration, and a sample usage might look like:

New Snowflake integration using a credential
const snowflakeClient = yepcode.integration.snowflake("my-company-snowflake");
note

Currently this integration helper only supports plain strings. Expressions or passing a value through a variable are not supported. Therefore, the code examples below will NOT work.

let credentialName = "my-company-snowflake";
const snowflakeClient = yepcode.integration.snowflake(credentialName);
const snowflakeClient = yepcode.integration.snowflake(
environment === "production"
? "my-company-snowflake"
: "my-company-snowflake-staging"
);