# Environments: sandbox & production

To support a safe and structured integration journey, Oten provides two separate environments for Identity Provider (IDP) integration: **Sandbox** and **Production**.

Each environment serves a distinct purpose in your integration lifecycle.

#### Sandbox environment (for integration & testing)

The sandbox environment is designed for development, integration, and testing.

This is where partners should start.

In the sandbox environment, you can:

* Create and configure an integration application
* Test **Login with Oten** flows end-to-end
* Simulate user authentication without impacting real users
* Safely experiment with configuration changes

**Key characteristics:**

* Isolated from production systems
* Uses test data and test users
* No impact on live customers or business operations
* Intended for trial, validation, and troubleshooting

> We strongly recommend completing all integration and testing in the sandbox environment before moving to production.

#### Production environment (for live usage)

The production environment is used for live, real-world integration after your setup has been fully validated in sandbox.

You should use production when:

* Your integration has been tested and verified in sandbox
* You are ready to serve real users
* Your system needs to authenticate against Oten’s live identity services

In the production environment:

* Authentication requests affect real users
* Configuration changes have live impact
* Stability, security, and correctness are critical

**Important notes:**

* Production credentials and settings are separate from sandbox
* Only verified and completed integrations should be promoted to production
* Any misconfiguration may affect real user access

#### Recommended integration flow

1. **Start in Sandbox**
   * [Go to sandbox](https://developer-portal.sbx.oten.dev/) - Developer portal
   * Create an integration application
   * Complete configuration and testing
   * Validate login, logout, and permission flows
2. **Move to Production**
   * [Go to production](https://developer.oten.com/) - Developer portal
   * Recreate or promote your configuration for production
   * Switch to production endpoints and credentials
   * Go live with real users

This separation ensures a safe, predictable, and enterprise-ready integration experience for all Oten partners.


---

# 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://oten.gitbook.io/identity-support/integration/integration-document/idp-integration/environments-sandbox-and-production.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.
