Credentials
Credentials are used to configure authentication and configuration connection for integrations.
You may have as many credentials as you need, and each one must have an unique name.

Creating a credential
You can start creating a credential from Credentials page by clicking on the New
button,
at the top-right of the screen.
Also, if you are editing a process code, you can start creating a new credential by
clicking in the Add
button, on the Credentials section in the right sidebar.
Then, the credential creation form is opened. A credential must be defined selecting the integration type and filling the required information. In each of the integration pages you have a section called Credential configuration, where you can find how to fill and obtain the needed form data.

Using a credential
Once the credential is defined, you can use them from source code. There are snippet suggestions for every integration and a sample could be:
JavaScript
Python
const snowflakeClient = yepcode.integration.snowflake("my-company-snowflake");
Currently this integration helper only supports plain strings. Expressions or passing a value by a variable is not supported. Therefore the code of these examples bellow 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"
);
``py title="New snowflake integration from credential" snowflake_client = yepcode.integration.snowflake("my-company-snowflake");
:::note
Currently this integration helper only supports plain strings. Expressions or passing a value by a variable is not supported. Therefore the code of these examples bellow will NOT work.
:::
```py
credential_name = "my-company-snowflake";
snowflake_client = yepcode.integration.snowflake(credential_name);
snowflake_clientt = yepcode.integration.snowflake(
"my-company-snowflake" if environment === "production" else "my-company-snowflake-staging"
);