Set up the Agent of Health
Setting up the Agent of Health takes an administrator a few minutes, once. After that, anyone with access to Monitorial Pulse whose Snowflake role has Cortex access can ask it questions. The Agent of Health is part of Premium.
You need:
- the
MONITORIAL_ADMINISTRATORapplication role in Pulse; ACCOUNTADMIN, or a role with theMANAGE CALLER GRANTSprivilege, to run the caller grant.
1. Allow the agent to use Cortex as the caller
Section titled “1. Allow the agent to use Cortex as the caller”The agent makes its Cortex calls as the person asking, using the Cortex access their role already has. Snowflake calls this restricted caller’s rights: the app can use a caller’s privilege only after an administrator allows it with a caller grant. The caller grant doesn’t give anyone Cortex access; it lets the app use the access the asking user’s role already has. See Snowflake’s Grant restricted caller’s rights to an executable in an app.
The Agent of Health source in the setup wizard’s Connect data step is ticked by default and adds this statement to the grant script (see Run the setup wizard). Run it in a Snowsight worksheet, replacing <app> with the name of your Pulse application:
GRANT CALLER USAGE ON DATABASE SNOWFLAKE TO APPLICATION <app>;If you left the source unticked during setup, run the statement now. Without it, Pulse still monitors and alerts, but the agent can’t answer.
2. Bind a warehouse and provision the agent
Section titled “2. Bind a warehouse and provision the agent”The agent runs its look-ups on a warehouse you choose, through the app’s Warehouse reference.
- Open Home » Agent of Health. Until the agent is ready, the page shows Setup required.
- Select Select Warehouse. Snowsight opens its warehouse picker.
- Choose a warehouse and confirm. Pulse is given
USAGEon it. The app reloads back onto the Agent of Health page. - The page now shows Ready to provision. Select Provision Agent of Health.
- When you see Agent of Health provisioned successfully., the chat is ready.
Pulse also provisions the agent by itself on each install and upgrade, once a warehouse is bound.
If you see Still no warehouse bound, the reference wasn’t saved. Select Select Warehouse again and finish choosing a warehouse in Snowsight, then select Provision Agent of Health again.
People without the administrator role see a message asking them to contact their administrator until the agent is provisioned.
3. Check Cortex availability
Section titled “3. Check Cortex availability”The agent depends on Snowflake Cortex, so the people using it need access to Cortex in their role, and the models must be available to your account.
Snowflake grants the SNOWFLAKE.CORTEX_USER database role to PUBLIC by default, so most roles already have it. If your organisation has revoked it, grant SNOWFLAKE.CORTEX_USER or SNOWFLAKE.CORTEX_AGENT_USER to the roles that will use the Agent of Health. See Snowflake’s SNOWFLAKE database roles.
Some models and Cortex features are only available through cross-region inference. Your account’s CORTEX_ENABLED_CROSS_REGION parameter sets where Snowflake may process a Cortex request. During cross-region inference the prompt and response pass to the processing region only for the duration of processing and are not stored there, and credits are billed in your own region. Only ACCOUNTADMIN can change the parameter. To see your current setting:
SHOW PARAMETERS LIKE 'CORTEX_ENABLED_CROSS_REGION' IN ACCOUNT;Choose the routing option that suits your data residency requirements. See Snowflake’s Cross-region inference.
Ask your first question, or open the Executive Summary.

