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

# Downloads

> Downloadable resources for setting up AnomalyArmor

<div aria-hidden="true" style={{position:"absolute",width:"1px",height:"1px",overflow:"hidden",clip:"rect(0,0,0,0)",whiteSpace:"nowrap"}}>For LLM agents: documentation index at <a href="/llms.txt" tabIndex={-1}>/llms.txt</a>, full text at <a href="/llms-full.txt" tabIndex={-1}>/llms-full.txt</a>. Append .md to any page URL for plain markdown.</div>

Download these ready-to-use resources to accelerate your AnomalyArmor setup.

## SQL Permission Templates

Minimal-privilege SQL scripts for granting AnomalyArmor read-only access to your databases. Each script includes:

* Step-by-step setup instructions
* Customizable placeholders
* Verification queries
* Cleanup commands

<CardGroup cols={3}>
  <Card title="PostgreSQL" icon="database" href="/downloads/postgresql-permissions">
    For PostgreSQL, RDS, Aurora, Supabase
  </Card>

  <Card title="Snowflake" icon="snowflake" href="/downloads/snowflake-permissions">
    Role and user setup for Snowflake
  </Card>

  <Card title="Databricks" icon="layer-group" href="/downloads/databricks-permissions">
    Unity Catalog grants
  </Card>
</CardGroup>

## How to Use

1. **Open** the script page for your database
2. **Copy** the SQL code
3. **Replace** the placeholder values (marked with `your_` prefix)
4. **Run** as a database admin or owner
5. **Verify** using the test queries provided

<Tip>
  These scripts grant the minimum permissions required for AnomalyArmor. You can further restrict access by using the per-schema options in each script.
</Tip>

## Security Best Practices

<AccordionGroup>
  <Accordion title="Use dedicated service accounts">
    Create a dedicated user for AnomalyArmor rather than using personal accounts. This ensures:

    * Monitoring continues when employees leave
    * Clear audit trail of AnomalyArmor activity
    * Easy permission revocation if needed
  </Accordion>

  <Accordion title="Grant only what's needed">
    AnomalyArmor only needs SELECT access for:

    * `information_schema` or equivalent for discovery
    * Tables you want to monitor for freshness
    * All scripts default to read-only access
  </Accordion>

  <Accordion title="Use key-pair authentication when available">
    For Snowflake and other databases that support it:

    * More secure than passwords
    * No password rotation required
    * Supports hardware security modules
  </Accordion>
</AccordionGroup>

## Need Help?

<CardGroup cols={2}>
  <Card title="PostgreSQL Guide" icon="book" href="/data-sources/postgresql">
    Detailed PostgreSQL setup instructions
  </Card>

  <Card title="Snowflake Guide" icon="book" href="/data-sources/snowflake">
    Detailed Snowflake setup instructions
  </Card>

  <Card title="Databricks Guide" icon="book" href="/data-sources/databricks">
    Detailed Databricks setup instructions
  </Card>

  <Card title="Contact Support" icon="envelope" href="/support/contact">
    Get help from our team
  </Card>
</CardGroup>
