# Snowflake Native Application

## Introduction

**MadConnect** enables secure, in‑warehouse orchestration and activation directly inside your Snowflake account using Snowpark. This guide consolidates the latest setup flow (**v1.55+**) with clear, step‑by‑step instructions and visual placeholders.

> **Audience:** Snowflake administrators and MadConnect users
>
> **Goal:** Install, activate, validate, and (if needed) uninstall the MadConnect Snowflake Native Application using client‑managed resources and minimal required privileges.

**Key characteristics:**<br>

* Installed from [**Snowflake Marketplace**](https://app.snowflake.com/marketplace/listing/GZTSZ91TLO38/madtech-madconnect?search=madtech)**.**
* Runs inside your Snowflake environment; **no data extraction or replication.**
* Uses **client‑managed compute** (compute pools, warehouses) and minimal app privileges.

<figure><img src="/files/NgSnZ10KZXbCsNttsbED" alt=""><figcaption></figcaption></figure>

***

### Prerequisites

**Role Requirement**

* Log in with the **ACCOUNTADMIN** role.
* Ensure no existing warehouse named `MAD_CONNECT_WH` (or `mad_connect_wh`) exists
* Confirm your network policies allow creation of external access integrations as needed by your organization<br>

<figure><img src="/files/RyVZxL9ROAhZPhMEESIY" alt="" width="563"><figcaption></figcaption></figure>

#### Required privileges at a glance

* **Application**: `BIND SERVICE ENDPOINT`, `EXECUTE TASK` (remain granted)
* **Client‑managed resources**: Compute Pools, Warehouses, Network Rules, External Access Integrations

{% hint style="info" %}
Why **`BIND SERVICE ENDPOINT`** is required: Enables the app to expose its service URL (web UI/API) while all compute remains client‑managed (see Privilege Rationale section).
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.madconnect.ai/deployment-options/snowflake-native-application.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
