Skip to main content

External Access Integrations

Optional network egress for enterprise LLMs, PAT auth, user invites, and GitHub integration.


1. EAI Status​

Configuration → External Access Integration in the app shows endpoint status. Unavailable endpoints can be enabled via Snowsight or SQL below. Refer to the figure below to see which EAI endpoints are needed for specific optional features.

EAI endpoint status in the app

2. Snowsight Configuration​

Step 1 — Attach EAI​

Apps → My Apps → (...) on your app → View settings → Configurations → attach External Access Integration.

Attach External Access Integration

Step 2 — Access Network Policies​

Menu → Governance & security → Network policies

Network policies navigation

Step 3 — Access ekai's EAI Network Rule​

Network Rules → Custom rules → find your app's external access network rule:

EKAI_PRIVATE_PREVIEW_EKAI_EXTERNAL_ACCESS_NETWORK_RULE

Network rules list

Step 4 — Edit Rule​

(...) → Edit → add required endpoints e.g. *.snowflakecomputing.com:443

Edit network rule
Restart required

Changes take effect after restarting the app.

sql
-- Stop
CALL EKAI_PRIVATE_PREVIEW.ekai_native_app_public.suspend_all_services();

-- Check: Menu → Monitoring → Services & Jobs

-- Restart
CALL EKAI_PRIVATE_PREVIEW.ekai_native_app_public.resume_all_services();

3. SQL Configuration​

1. Attach EAI​

Same as Snowsight Step 1.

Attach External Access Integration
important

Run as ACCOUNTADMIN or a role with network policy privileges.


2. View current configuration​

sql
DESCRIBE NETWORK RULE EKAI_PRIVATE_PREVIEW.CONFIGURATION.EKAI_PRIVATE_PREVIEW_EKAI_EXTERNAL_ACCESS_NETWORK_RULE;

3. Backup current value list​

sql
DESCRIBE NETWORK RULE EKAI_PRIVATE_PREVIEW.CONFIGURATION.EKAI_PRIVATE_PREVIEW_EKAI_EXTERNAL_ACCESS_NETWORK_RULE;

SELECT '''' || f.value::STRING || ''',' AS allowed_host
FROM TABLE(FLATTEN(INPUT => SPLIT((SELECT "value_list" FROM TABLE(RESULT_SCAN(LAST_QUERY_ID()))), ','))) f;

4. Update value list​

caution

This overwrites existing config. Include all endpoints that should remain allowed.

sql
ALTER NETWORK RULE EKAI_PRIVATE_PREVIEW.CONFIGURATION.EKAI_PRIVATE_PREVIEW_EKAI_EXTERNAL_ACCESS_NETWORK_RULE
SET VALUE_LIST = (
'*.github.com',
'ekai.ai',
'*.googleapis.com:443',
'*.openai.azure.com:443',
'*.snowflakecomputing.com:443',
'api.sendgrid.com'
);

Restart required

Changes take effect after restarting the app.

sql
CALL EKAI_PRIVATE_PREVIEW.ekai_native_app_public.suspend_all_services();
-- Check: Menu → Monitoring → Services & Jobs
CALL EKAI_PRIVATE_PREVIEW.ekai_native_app_public.resume_all_services();