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

# FAQ

> Frequently asked questions about nao

<AccordionGroup>
  <Accordion title="How do I see a query behind a view in nao?">
    You can view the query definition behind a database view using the agent. Ask the agent to "show me the query for view \[view\_name]" or use the agent's warehouse tools to get the view query definition.
  </Accordion>

  <Accordion title="You need to open a folder in nao so the agent creates files">
    To allow the agent to create files, you must first open a folder or repository in nao. The agent can only create and edit files within an open workspace.
  </Accordion>

  <Accordion title="How to open terminal in nao?">
    You can open the terminal in nao using <kbd>⌘</kbd> + <kbd>J</kbd>.
  </Accordion>

  <Accordion title="How can I analyze a CSV in nao?">
    To analyze a CSV file in nao:

    1. Connect to DuckDB (which supports CSV files directly)
    2. Import your CSV file into DuckDB
    3. Use the agent to query and analyze the data
    4. Alternatively, you can use SQL worksheets to write queries against your CSV data

    <Info>
      **DuckDB CSV Support**
      DuckDB can read CSV files directly, making it easy to analyze CSV data without importing into a traditional database.
    </Info>
  </Accordion>

  <Accordion title="nao can't work with dbt cloud, only dbt core">
    nao works exclusively with **dbt Core**. dbt Cloud is not supported. Make sure you're using dbt Core in your local environment. See [Set up dbt](/nao-ide/get-started/set-up-dbt) for configuration details.
  </Accordion>

  <Accordion title="Why should I configure dbt in nao?">
    When dbt is fully configured in nao you unlock:

    * Execute & preview dbt models directly in the IDE
    * Auto-complete for model columns plus quick navigation to refs
    * Column-level lineage in the agent experience

    Even without configuring dbt you still keep the agent's ability to create or edit dbt models, sources, documentation, and tests.
  </Accordion>

  <Accordion title="Where can I find my nao chat history?">
    Your chat history is automatically saved and can be accessed from the chat interface. All your conversations are maintained per workspace and are available in the chat sidebar. You can:

    * Access previous conversations from the chat history
    * Continue conversations from where you left off
    * Reference past conversations and their context
  </Accordion>

  <Accordion title="Is there a shortcut to execute SQL?">
    Yes! You can execute SQL queries using <kbd>⌘</kbd> + <kbd>⏎</kbd>. This runs the query at your cursor position.

    <Tip>
      **Multi-query execution:** If you have multiple queries in a file, nao will execute the query where your cursor is located.
    </Tip>
  </Accordion>

  <Accordion title="nao can't work with remote env">
    nao requires a local environment and cannot work with remote dbt environments. Your dbt project must be set up locally on your machine where nao is running.
  </Accordion>

  <Accordion title="How to update nao?">
    To update nao:

    1. **macOS**: Download the latest version from the [download page](https://getnao.io/download/) and install it
    2. **Windows**: Download the latest version from the [download page](https://getnao.io/download/) and install it

    Updates are typically available on the releases page. nao will notify you when updates are available.
  </Accordion>

  <Accordion title="Where can I get my nao invoices?">
    For invoice information, please contact [claire@getnao.io](mailto:claire@getnao.io) or reach out through our [Support](/nao-ide/support/intro) page.
  </Accordion>

  <Accordion title="Is there a Linux version?">
    No, there is currently no Linux version of nao. However, a Linux version is planned for release in **2026**.

    <Info>
      **Current Platforms**
      nao is currently available for:

      * macOS (Apple Silicon and Intel)
      * Windows

      Linux support is coming in 2026.
    </Info>
  </Accordion>

  <Accordion title="How do I connect multiple databases?">
    You can connect multiple databases simultaneously in nao. Go to Settings > Warehouse Connections > Add Connection to add additional databases. Each connection can be set as global (available across all workspaces) or attached to a specific workspace. See [Set up data connection](/nao-ide/get-started/set-up-data-connection) for details.
  </Accordion>

  <Accordion title="Can I use nao without a data connection?">
    Yes, you can use nao without a data connection. The agent can still help with codebase-related tasks, dbt model creation, and general coding assistance. However, features like SQL execution, data preview, and data analysis require a data connection.
  </Accordion>

  <Accordion title="How does nao handle my data privacy?">
    nao takes data privacy seriously:

    * Only table schemas (metadata) are sent to the agent, not actual data
    * You control what data is shared with the LLM through the share/preview options
    * Codebase indexing only stores embeddings, not your actual code
    * Your data content is never accessed during indexing

    See our [Privacy Policy](https://getnao.io/security/privacy-policy/) for more details.
  </Accordion>

  <Accordion title="What AI models can I use with nao?">
    nao supports multiple AI models including:

    * **Claude** (3.5 Sonnet, 3.7 Sonnet, 3 Opus, 3.5 Haiku)
    * **GPT** (GPT-4o, GPT-4o-mini, GPT-5, GPT-5.1, gpt-oss)
    * **Gemini** (2.5 Flash, 2.5 Pro)
    * **Mistral** (Large, Small)
    * **AWS Bedrock** (various models)

    You can switch between models directly in the chat interface. See [Choose LLM provider](/nao-ide/nao-ai/agent-models) for more information.
  </Accordion>

  <Accordion title="How do I customize the agent's behavior?">
    You can customize the agent using a `.naorules` file in your project root. This file allows you to set:

    * Code style preferences (SQL formatting, naming conventions)
    * Agent behavior (language, tone, documentation habits)
    * Project-specific standards and best practices

    The agent can also read `claude.md` files for additional guidelines. See [Customize your agent with nao rules](/nao-ide/nao-ai/agent-rules) for details.
  </Accordion>

  <Accordion title="Can I use my own API keys?">
    Yes, Enterprise plan users can use their own API keys for LLM models (OpenAI, Anthropic, Bedrock, or Gemini). This allows you to control costs and maintain compliance with your organization's security policies. [Contact us](mailto:claire@getnao.io) to set up Enterprise access.
  </Accordion>

  <Accordion title="How do I share query results with the agent?">
    You can share query results with the agent using <kbd>⌘</kbd> + <kbd>L</kbd>. After executing a query, select the results and use the shortcut, or click "Share" when viewing results. You can also use "Preview local" to view results privately without sharing with the LLM.
  </Accordion>

  <Accordion title="What databases does nao support?">
    nao supports the following databases:

    * **BigQuery** (Service Account, SSO)
    * **Snowflake** (User Password, SSO, Key Pair)
    * **Postgres** (SSH, SSL, TLS)
    * **Redshift** (SSH, SSL, TLS)
    * **ClickHouse** (HTTPS)
    * **Databricks** (Personal Access Token, OAuth U2M)
    * **DuckDB** (Local file)
    * **MotherDuck**
    * **Amazon Athena** (AWS Access Keys)

    See [Set up data connection](/nao-ide/get-started/set-up-data-connection) for connection details for each database.
  </Accordion>

  <Accordion title="How do I preview dbt models?">
    To preview dbt models, ensure your dbt project is set up in nao, then simply click the execute button (or press <kbd>⌘</kbd> + <kbd>⏎</kbd>) while viewing a dbt model file. nao will compile and execute the model, showing you the results. See [Work with dbt](/nao-ide/features/work-with-dbt) for more information.
  </Accordion>

  <Accordion title="Can I use nao with multiple workspaces?">
    Yes, you can open multiple folders/repositories in nao, but only the first one will be in the agent's context. Each workspace maintains its own:

    * Data connections
    * dbt configuration
    * Chat history
    * Indexed codebase
  </Accordion>

  <Accordion title="How do I see the lineage of a dbt model?">
    You can view dbt lineage by clicking the lineage icon in the top right toolbar. If you have a dbt model file open, the lineage will be centered on that model. You can expand nodes, navigate dependencies, and click on models to open their files. See [View dbt lineage](/nao-ide/features/work-with-dbt#view-dbt-lineage) for details.
  </Accordion>

  <Accordion title="What happens if my BigQuery connection times out?">
    nao automatically reconnects to BigQuery if the refresh token expires. If you experience connection issues, check your connection settings in Settings > Warehouse Connections and verify your credentials are still valid.
  </Accordion>

  <Accordion title="Can I export query results?">
    Yes, you can export query results to CSV format. In the data preview panel, click the download icon to save your results as a CSV file. See [Interactive Data Preview](/nao-ide/features/work-with-sql#interactive-data-preview) for more details.
  </Accordion>

  <Accordion title="How do I set query size limits for BigQuery?">
    To set query size limits for BigQuery:

    1. Go to Settings > Warehouse Connections
    2. Select your BigQuery connection
    3. Set the query size limits in the connection settings

    This helps prevent expensive queries and control costs. See [BigQuery Query Size Limits](/nao-ide/features/work-with-sql#bigquery-query-size-limits) for details.
  </Accordion>

  <Accordion title="What is the difference between Free, Trial, and Pro plans?">
    * **Free Plan**: 5 prompts per day, basic features, limited AI models
    * **Free Trial**: 20 prompts per 3 hours, full feature access, all AI models (converts to Free after trial)
    * **Pro Plan**: Unlimited prompts, all features, all AI models, team collaboration, priority support

    See [Pricing and Plans](/nao-ide/support/pricing-and-plans) for complete details.
  </Accordion>

  <Accordion title="How do I add team members to my Pro plan?">
    To add team members:

    1. Go to Settings > Team Management
    2. Click "Add Team Member"
    3. Enter their email address
    4. They'll receive an invitation to join your workspace

    To add more seats to your license, go to Settings > Billing > Manage Subscription > Add Seats. See [Managing Your Team](/nao-ide/support/pricing-and-plans#managing-your-team) for details.
  </Accordion>

  <Accordion title="Can I use nao offline?">
    No, nao requires an internet connection to function. The AI models, codebase indexing, and data warehouse connections all require network access.
  </Accordion>

  <Accordion title="How do I troubleshoot connection issues?">
    If you're having connection issues:

    1. Verify your credentials are correct
    2. Check that your firewall/network allows connections
    3. For BigQuery, ensure your refresh token hasn't expired
    4. For Snowflake, verify your account, warehouse, and role settings
    5. Check the connection status in Settings > Warehouse Connections

    If problems persist, contact [support](mailto:claire@getnao.io).
  </Accordion>

  <Accordion title="What file types does nao index?">
    nao indexes all files in your repository except those in `.gitignore` or `.naoignore`. This includes:

    * SQL files
    * dbt models
    * Python scripts
    * Configuration files (YAML, JSON, etc.)
    * Documentation files
    * Any other text-based files

    Binary files and files in `.gitignore` or `.naoignore` are excluded from indexing.
  </Accordion>

  <Accordion title="How do I exclude files from indexing?">
    You can exclude files from indexing by:

    1. Adding them to your `.gitignore` file (they'll be automatically excluded)
    2. Creating a `.naoignore` file in your project root with patterns for files/folders to exclude

    The `.naoignore` file uses the same syntax as `.gitignore`.
  </Accordion>

  <Accordion title="Can I use nao with Git?">
    Yes, nao works seamlessly with Git. You can:

    * Run Git commands in the terminal (git add, commit, push, etc.)
    * Have the agent execute Git operations
    * View diffs and changes
    * The agent can help with Git workflows

    The terminal in nao works the same as VS Code's terminal.
  </Accordion>

  <Accordion title="How do I see what the agent is doing?">
    When the agent is working, you can see:

    * A blue dot indicator on the active chat tab
    * Real-time reasoning display (for reasoning models like GPT-5, Gemini 2.5 Pro)
    * Tool execution status in the chat
    * File changes as they're suggested

    The agent shows its progress and reasoning in real time.
  </Accordion>

  <Accordion title="What are MCPs and how do I use them?">
    MCPs (Model Context Protocol) allow nao to integrate with external tools and services. nao comes with pre-integrated MCPs including Notion, Git, Airbyte, Omni, Tableau, Elementary, and Select Star. You can also add custom MCPs in Settings > Agent > MCPs. See [MCPs](/nao-ide/nao-ai/agent-tools) for details.
  </Accordion>

  <Accordion title="How do I change the AI model in a chat?">
    Click on the model selector in the chat header to switch between different LLM models. You can change models at any time during a conversation, though starting a new chat when switching to a significantly different model is recommended for best results.
  </Accordion>

  <Accordion title="Can the agent create charts from my data?">
    Yes! The agent can create various types of charts from query results:

    * Bar charts
    * Line charts
    * Pie charts

    Simply ask the agent to "show me a chart" or "create a visualization" of your data. See [Agent tools](/nao-ide/nao-ai/agent-tools) for examples.
  </Accordion>

  <Accordion title="How do I know if my dbt setup is working?">
    When your dbt project is configured correctly, you'll see a checkmark (✓) in the bottom left of nao. If there's an issue, you'll see an X. Click on the dbt status indicator to open the configuration panel and troubleshoot. See [Check dbt setup status](/nao-ide/get-started/set-up-dbt#check-dbt-setup-status) for details.
  </Accordion>

  <Accordion title="What is the sandbox and how do I use it?">
    The nao sandbox is a pre-configured environment with:

    * A sample dbt project (jaffle shop)
    * DuckDB connection with sample data
    * Full access to all nao features

    It's perfect for testing nao without setting up your own project. See [nao Sandbox](/nao-ide/get-started/nao-sandbox) to get started.
  </Accordion>

  <Accordion title="Can I use nao with Jupyter notebooks?">
    Yes, the agent can read the full content of notebooks and help you work with them. You can add notebooks to the agent context and ask questions about them or request modifications.
  </Accordion>

  <Accordion title="How do I see the cost of a BigQuery query before running it?">
    For BigQuery queries, the cost is displayed in the bottom bar even before you run the query. It shows the estimated cost and indicates if the dry run is successful. This helps you understand query costs before execution.
  </Accordion>

  <Accordion title="What keyboard shortcuts are available?">
    nao supports many keyboard shortcuts:

    * <kbd>⌘</kbd> + <kbd>⏎</kbd>: Execute SQL query
    * <kbd>⌘</kbd> + <kbd>L</kbd>: Send selected code/results to agent
    * <kbd>⌘</kbd> + <kbd>⇧</kbd> + <kbd>J</kbd>: Open/close data preview
    * <kbd>⌘</kbd> + <kbd>J</kbd>: Open terminal
    * <kbd>⌘</kbd> + click: Jump to definition

    See [Keyboard Shortcuts](/nao-ide/features/keyboard-shortcuts) for a complete list.
  </Accordion>

  <Accordion title="How do I rename a chat?">
    Double-click on the chat tab name to rename it. This helps you organize multiple conversations and find specific chats later.
  </Accordion>

  <Accordion title="Can I use nao without opening a repository?">
    Yes, you can use nao in "data connection only" mode without opening a repository. This allows you to:

    * Create SQL worksheets
    * Execute queries
    * Use the agent for data analysis
    * Preview tables

    However, codebase-related features require an open repository.
  </Accordion>

  <Accordion title="What happens when I reach my prompt limit?">
    If you're on the Free plan (5 prompts/day) or Free Trial (20 prompts/3 hours), you'll see a message when you reach your limit. You can:

    * Wait for the limit to reset (midnight for Free, 3 hours for Trial)
    * Upgrade to Pro for unlimited prompts
  </Accordion>

  <Accordion title="How do I enable auto-apply for agent changes?">
    Enable the "Edit" button in the chat to allow the agent to auto-apply changes to your files. Once enabled, the agent will edit your code directly based on your requests. You can always review and accept/reject changes. See [Edit mode](/nao-ide/nao-ai/agent-chat#edit) for details.
  </Accordion>
</AccordionGroup>
