Documentation
Toggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

SUNDECK$LINK_NATIVE_APP

To allow Sundeck access to Snowflake outside of a user session and enable some additional functionality from the Sundeck Native App user needs to link Native App to Sundeck account.

Connect SQL tool of your choice to a Sundeck Broker and use this system function to link Snowflake Native App.

Sundeck ADMIN privilege is required to run this function. See GRANT SUNDECK ROLE

See also:
GET_SERVICE_ACCOUNT, SET_SERVICE_ACCOUNT

Example:

kai#COMPUTE_WH@(no database).(no schema)>select SUNDECK$LINK_NATIVE_APP();
+---------+                                                                     
| status  |
|---------|
| SUCCESS |
+---------+
1 Row(s) produced. Time Elapsed: 7.754s