# Recommended Integration Flow

Before you integrate AkashicPay, we highly recommend thoroughly reviewing the integration flow to guarantee a smooth and secure integration when using our product. This ensures that all components of the system are properly aligned, minimising the risk of errors and potential disruptions. By carefully following the outlined steps, you can confirm that every feature operates as intended and that your system remains stable throughout the process. Additionally, adhering to these guidelines helps safeguard data integrity, enhances performance, and provides peace of mind that your integration is both reliable and secure for long-term use of your funds and a smooth integration of AkashicPay, we recommended you reading through this and follow the recommended integration flow.

## <mark style="color:blue;">Head over to testnet.AkashicPay.com</mark>

This process mirrors the experience of visiting the production environment of our website. It allows developers to test the functionalities while integrating our AkashicPay SDK using [testcoins](/guides/supported-currencies.md#testnets), ensuring everything works smoothly before going live.&#x20;

1. Reproduce the same steps as you previously have done when creating a new account on AkashicLink, but this time on testnet environment. You can get the AkashicLink testnet version through this as indicated from the blue arrow. Or you can download the testnet version through [here](https://chromewebstore.google.com/detail/akashiclink-testnet/cbjaeakegfefnhommfnkglbfdgjlehpj).

<figure><img src="/files/dPQCAEIzqAAjx3Z4F40y" alt=""><figcaption></figcaption></figure>

2. [Create your AkashicLink testnet account](/guides/quick-guide.md#create-your-account) and log onto AkashicPay on the testnet environment. You will go through the same [onboarding](/guides/quick-guide.md#onboarding) process, mirroring the production environment.&#x20;
3. Generate your API/SDK KeyPair, setup your Callback URLs and start integrating the AkashicPay [SDK](/sdk/getting-started-with-sdk.md) or [SecureAPI](/secureapi/getting-started-with-secureapi.md) with the [API/SDK KeyPair](/guides/keypairs-guide.md#api-sdk-keypair).&#x20;

On the testnet, USDT (Shasta-TRX), USDT and USDC (SEP), USDT and USDC (tBNB), USDT and USDC (tSOL) are all supported as well as Shasta-TRX, Ethereum Sepolia, tBNB and tSOL. Each testnet environment AkashicLink account supports all 11 of these cryptocurrencies. To avoid confusion from the production environment, we have disabled the deposit addresses for the mainnet on a testnet AkashicLink account.

<figure><img src="/files/zwR9s5jm00UnMOXaB7yX" alt=""><figcaption></figcaption></figure>

## <mark style="color:blue;">Using AkashicPay in the production environment</mark>

The integration process should be exactly the same as the testnet environment. The differences are the key management.

As previously emphasized during the AkashicPay onboarding, both the Owner and API/SDK KeyPair grant access to your account and funds. It is essential to keep the Owner KeyPair (whether it's the 12-Word Recovery Phrase or the KeyPair) secure and never share it with anyone. Safeguarding this information is critical to protecting your assets.

> <mark style="color:red;">**Note:**</mark>&#x20;
>
> * <mark style="color:red;">Owner KeyPair can generate and refresh API/SDK</mark> <mark style="color:red;">KeyPair.</mark>
> * <mark style="color:red;">Both Primary and API/SDK KeyPair have access to the Account and Funds</mark>
> * <mark style="color:red;">API/SDK KeyPair cannot generate and refresh Owner KeyPair nor API/SDK KeyPair.</mark>

It is your responsibility to safeguard these keys to protect your account. The API/SDK KeyPair should only be entrusted to developers you trust and rely on for account integration and management.&#x20;

### <mark style="color:blue;">Key notes to remember</mark>

* Never share your Owner KeyPair (12-Word Secret Recovery Phrase or KeyPair from AkashicLink) to anyone.
* It is recommended that you use your API/SDK KeyPair for our AkashicPay SDK integration.
* API/SDK KeyPair will only be shown once on the first generation attempt. If you lose it, you must generate a new one.
* API/SDK KeyPair shares the same permissions as the Owner KeyPair apart from generating new keys.

### <mark style="color:blue;">Recommended integration flow</mark>

1. A person in charge, an Owner or an Authorized Director, should create account in AkashicLink to obtain the Owner KeyPair.
2. The person in charge should generate the API/SDK KeyPair in [AkashicPay.com](http://Akashicpay.com) and delegate the access of the API/SDK KeyPair to the Entrusted Personnel, such as Tech Lead or CTO of the company.
3. Entrusted Personnel should use this API/SDK KeyPair to proceed with SDK Integration as the API/SDK KeyPair is required to set up properly.


---

# 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.akashicpay.com/guides/recommended-integration-flow.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.
