> For the complete documentation index, see [llms.txt](https://tri.gitbook.io/tri-doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tri.gitbook.io/tri-doc/getting-started.md).

# Getting Started

Triangle has two environments: **Sandbox** and **Production**. Both expose the same API; they differ only in the base URL and the API key. Each environment has its own keys and its own data — objects created in one environment are not accessible from the other.

| Environment | Base URL                                       |
| ----------- | ---------------------------------------------- |
| Sandbox     | `https://sandbox.triangle.digital/api/v2`      |
| Production  | `https://product.triangle.digital:8888/api/v2` |

The **Sandbox** mirrors Production and is intended for development and testing. It operates on test data only, so you can build and validate your integration before going live.

Use **Production** once your integration is complete. Endpoints, request parameters, and responses are identical across both environments, so moving to Production requires only changing the base URL and the API key.

To request a Production API key, contact our team at [**support@triangle.digital**](mail:support@triangle.digital).

{% hint style="info" %}
All examples in this documentation use the Sandbox base URL.
{% endhint %}

#### To begin integrating with the Triangle API, follow these steps to set up your account and obtain access credentials:

#### 1. **Sign Up**

Create your Triangle account by registering at <https://product.triangle.digital/signup/1>

#### 2. **Add Your Company**

Once logged in, complete your company profile with relevant business details. This ensures your API usage is linked to a verified legal entity.

#### 3. **Complete AML/KYC Verification**

For security and compliance, all organizations must pass AML (Anti-Money Laundering) and KYC (Know Your Customer) checks. Submit the required documentation through the platform to complete verification.

#### 4. **Request Your API Key**

After your account is approved, contact our team at [**support@triangle.digital**](mail:support@triangle.digital) to request your API key. Your API key will allow you to securely authenticate and start using the Triangle API.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://tri.gitbook.io/tri-doc/getting-started.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
