# Getting Started with EINV GSP API

This document describes the steps to integrate with ClearTax GSP for E-Invoicing.

## Integration Steps

**1. Create a sandbox account** - For testing, it is recommended to always use the sandbox environment. For host, SSL and more information on the sandbox environment, [click here](/cleartax-docs/e-invoicing-gsp-api/e-invoicing-gsp-api-reference.md#sandbox-environment).

**2. Complete sandbox testing** - Test all the APIs on the sandbox environment. For more information on the API documentation, [click here](/cleartax-docs/e-invoicing-gsp-api/e-invoicing-gsp-api-reference.md#api-documentation).

**3. Create a production account** - Once the testing is successful, create a ClearTax production account. For host, SSL and more information on the production environment, [click here](/cleartax-docs/e-invoicing-gsp-api/e-invoicing-gsp-api-reference.md#production-environment).

**4. Register GSP in NIC** - Before making any changes to production, you need to register ClearTax as GSP in NIC. [Check how to register](/cleartax-docs/e-invoicing-gsp-api/getting-started-with-einv-gsp-api/how-to-register-einv-gsp-on-irp.md). Note the username and password created at this step. You will need them later when using the Authentication API.

**5. Go live**!

{% hint style="info" %}
Have more queries? Write to <integrations-support@cleartax.in>
{% endhint %}


---

# 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.cleartax.in/cleartax-docs/e-invoicing-gsp-api/getting-started-with-einv-gsp-api.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.
