# Snowflake

#### Snowflake Configuration

* Log into your Sysadmin or Accountadmin account on Snowflake

* Go on Worksheets, create a new worksheet and copy this in it:

```exp
use role accountadmin;
alter account set sso_login_page = TRUE;
alter account set saml_identity_provider =
'{
    "certificate": "MIIDUTCCAjmgAwIBAgIXXX",
    "issuer": "https://mydomain.trustelem.com/app/33XXXX",
    "ssoUrl": "https://mydomain.trustelem.com/app/33XXXX/sso",
    "type"  : "custom",
    "label" : "Trustelem" 
}';
```

* Then click on Run

#### Trustelem Configuration

* Copy your Snowflake account URL: it should look like this `https://[account_name].snowflakecomputing.com/` or this `https://[account_name].[region_id].snowflakecomputing.com/`

* On Trustelem, paste this URL in the EntityID, do not forget the "/" at the end