> ## Documentation Index
> Fetch the complete documentation index at: https://docs.landing.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Grant Agentic Document Extraction Access to Stages

export const ade = 'Agentic Document Extraction';

To [parse](./ade-sf-parse-cloud) or [extract data](./ade-sf-extract-cloud) from files in Snowflake stages, grant {ade} access to those stages.

To grant {ade} access to a stage:

1. Make a note of the **database**, **schema**, and **stage** that you want to grant access to.
2. Open [Snowsight](https://app.snowflake.com).
3. Create a new worksheet and run the following SQL commands. Replace these placeholders with your information: `YOUR_DB`, `YOUR_SCHEMA`, `YOUR_STAGE`, and `APP_NAME`.

   (To locate your app name, go to [App Name](./ade-sf-app-name)).

   ```sql theme={null}
   GRANT USAGE ON DATABASE YOUR_DB TO APPLICATION "APP_NAME";
   GRANT USAGE ON SCHEMA YOUR_DB.YOUR_SCHEMA TO APPLICATION "APP_NAME";
   GRANT READ, WRITE ON STAGE YOUR_DB.YOUR_SCHEMA.YOUR_STAGE TO APPLICATION "APP_NAME";
   ```
