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

# Environments and testing FAQ

> Guidance on safe testing, deployment pipelines, and managing multi-site agents.

Answers to questions about testing changes safely across environments (Draft, Sandbox, Pre-release, Live) and managing multi-location agents using variants.

<AccordionGroup>
  <Accordion title="How do I test changes safely before going live?" icon="flask">
    Use the [deployment pipeline](/environments-and-versions/introduction) to test in isolated environments:

    1. **Draft** – make changes in the editor.
    2. **Sandbox** – publish your draft and test using [agent chat](/get-started/quickstart#test-your-agent) or a sandbox phone number.
    3. **Pre-release** – promote for user acceptance testing (UAT).
    4. **Live** – promote to live when ready.

    You can [compare versions](/environments-and-versions/diffs) across environments before promoting, and [rollback](/environments-and-versions/introduction#rolling-back-to-a-previous-version) if issues arise.
  </Accordion>

  <Accordion title="How do I manage multi-site or multi-location agents?" icon="location-dot">
    Use [variant management](/variant-management/introduction) to manage location-specific content in a single agent. Each variant stores attributes like phone numbers, addresses, and hours.

    Variants are useful for:

    * Hotel chains, restaurant groups, or retail chains with multiple branches
    * Agents that need to respond differently based on which number was called
    * Dynamically populating responses with location-specific data using `${variant_attribute}` syntax

    See the [variant management guide](/variant-management/introduction) and [CSV imports](/variant-management/csv-imports) for bulk configuration.
  </Accordion>
</AccordionGroup>
