credentials_snippets_js
New Snowflake integration using a credential
const snowflakeClient = yepcode.integration.snowflake("my-company-snowflake");
New IMAP listener using a credential
const mailListener = yepcode.listener.imap("my-mail-server");
note
Currently this integration helper only supports plain strings. Expressions or passing a value through a variable is not supported. Therefore, the code examples below will NOT work.
❌ This doesn't work
let credentialName = "my-company-snowflake";
const snowflakeClient = yepcode.integration.snowflake(credentialName);
❌ This doesn't work
const snowflakeClient = yepcode.integration.snowflake(
environment === "production"
? "my-company-snowflake"
: "my-company-snowflake-staging"
);