# API Authentication

Flow diagram&#x20;

![](https://3006347928-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT9aRslHAK9gE6kvtFunZ%2Fuploads%2Ff11c8CVvnpySNYUTVT0M%2Fimage.png?alt=media\&token=30627c30-d22f-456c-8e70-f2002085e412)\\

Authentication steps

\\

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdA9_XT6CXpw0kS2IzC6ru6-zJ-qE4albAWwJr5CW8yyq7odW_eVGiukBbkKAgWDr_QNHCxNs2iExSWOgjK5jCoH2AMhQ5OVfGfexK81rJ2yM8eatgwYJ-nYJQzFwcfgQrNI7iIe0TTsHf7qD-1HK1kS2-h?key=m3LSdYs-nAhDkjT4G9KcHQ)

\\

Obtain Access Credentials

Get your Client ID and Client Secret from the authentication section of the Developer Portal.

\\

There are two types of access credentials:

\\

* Sandbox Credentials (For the sandbox environment to test with testnets)
* Production Credentials (For the production environment for deploying on mainnet)

You can switch between the access credentials from the authentication page by hitting the toggle button.

<figure><img src="https://3006347928-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT9aRslHAK9gE6kvtFunZ%2Fuploads%2FmFgRXeggHt415ZK2wYm8%2FFree%20trail%20Wallet%20API.jpg?alt=media&#x26;token=77db90cd-c1b1-4e99-bb3d-24e09234731e" alt=""><figcaption></figcaption></figure>

Access Credentials - Developer Portal

\\
