# Environments

Hakuna has two environments available: sandbox and production. Each environment has a unique URL and requires a unique [API key](/using-the-api/authentication.md).

**Sandbox environment:** `https://api.hellohakuna.com/sandbox/`

**Production environment:** `https://api.hellohakuna.com/`

### Using the sandbox environment

The Hakuna sandbox is a testing environment that simulates the live production environment. It has the same set of features as the production environment. You should use the sandbox to fully test and develop your integration. Before you switch to the production environment, you should have successfully [tested](/using-the-api/testing.md) all order events (placement, fulfillment, refund, cancellation).

### Using the production environment

In the production environment, you'll need to use the base production URL and your live publishable key.

Please [let us know](/help/contact.md) when you are ready to go live so we can coordinate final testing. Once that's done, you'll be able to view your live publishable key in the merchant console.


---

# 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://docs.hellohakuna.com/using-the-api/environments.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.
