> For the complete documentation index, see [llms.txt](https://docs.lionparcel.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lionparcel.com/guides/guides-en/features/integration-generated-token.md).

# Integration / Generated Token

The Generate New Token feature is used by clients who are already connected via API integration with the Lion Parcel system.\
This feature allows users to generate a Client ID and Client Secret, which function as authentication keys so third-party applications can connect securely to the Lion Parcel API.

**Notes**:&#x20;

1. Tokens can only be created by clients whose API connection has been activated by the Lion Parcel technical team.
2. The code note can be used for Shopify,&#x20;

### A. Main Functions of the Integration Token

* API Authentication: Ensures every request from an external application is verified by the Lion Parcel system.
* Data Security: Prevents illegal access with a token-based system.
* Integration Management: Makes it easier for clients to manage connections to third-party logistics applications.

### B. Main Page of API Integration

<figure><img src="/files/9cbb1ef08abb13ae6f9b68d90af55d4011731fc7" alt=""><figcaption><p>Figure 1 Main Page of API Integration</p></figcaption></figure>

**Explanation:**&#x20;

1. By default, the API token will appear on this page
2. There are 2 tokens that can be viewed: Client ID & Client Secret
   1. Client ID
      1. A unique client identity used to identify the application connected to the Lion Parcel API
      2. Format example: e9027da5-f227-4d2f-9bb9-xxxxxxxxx
      3. The Copy button on the right functions to copy the Client ID value so it is easy to use when configuring in third-party applications.
      4. Tip: Keep the Client ID in a safe place and do not share it with others to prevent misuse.
   2. Client Secret
      1. The Client Secret functions as an API password used together with the Client ID for the authentication process.
      2. Format example: bjfkkj0lkdwinhig03zataxqc0xxxxxms
      3. Just like the Client ID, click Copy to copy the secret value to the clipboard.
      4. Warning: Never share the Client Secret with unauthorized third parties. This information is confidential and used to secure the API connection.
3. “Generate” Button

* Used to create a new token if you do not already have one or if the old token has expired.
* After the button is pressed, the system will automatically generate a new combination of Client ID and Client Secret.
* Note: Each time a new token is created, the old token will automatically become invalid for security reasons.

### C. Generate a New Token

1. Go to the Integration / API menu in the client dashboard.
2. Click the Generate Token button.
3. Wait a few seconds until the system displays the green notification “Token successfully created”.
4. Copy the Client ID and Client Secret using the Copy button beside them.
5. Store the token securely and use it in the configuration of the external system you want to integrate.

<br>


---

# 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://docs.lionparcel.com/guides/guides-en/features/integration-generated-token.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.
