> For the complete documentation index, see [llms.txt](https://docs.payments.thalescloud.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payments.thalescloud.io/instant-issuance/get-started.md).

# Get Started

Instant issuance lets you produce a physical card instantly in a branch or kiosk.

Use D1 to orchestrate personalization and return production status to your issuer backend.

### What you build

You integrate:

* Your **issuer backend**, to request card production using the D1 API.
* The **Thales Instant Issuance Agent**, running in your branch or kiosk environment.
* A **personalization station** identifier (`persoStation`), to route production to the right station.

### End-to-end flow (high level)

1. The end user requests a card (for example, from the issuer application or at a kiosk).
2. Your issuer backend requests production using the Physical issuance API with `distributionChannel=INSTANT`.
3. The D1 backend prepares production data.
4. The D1 backend routes production data to the Thales Instant Issuance Agent.
5. D1 sends production status updates to your issuer backend (recommended).

### Before you start

* Complete D1 onboarding.
* Configure card products and personalization templates.
* Install and register the Thales Instant Issuance Agent in your branch or kiosk environment.
* Register at least one personalization station and get its `persoStation` identifier.
* Integrate your issuer backend with the Physical issuance API.
* Set up inbound connectivity and authorization to call D1 APIs.
* Set up outbound connectivity to receive production status notifications.

### Integrate instant issuance

{% stepper %}
{% step %}

### Set up connectivity and authorization

Configure mutual TLS and OAuth 2.0 access tokens for calls from your issuer backend to the D1 backend.

* [Set up TLS mutual authentication](/instant-issuance/integrate-d1-api/set-up-tls-mutual-authentication.md)
* [Get OAuth2.0 access token](/instant-issuance/integrate-d1-api/get-oauth2.0-access-token.md)
  {% endstep %}

{% step %}

### Encrypt sensitive data

Encrypt card data fields using JWE before sending them to D1.

* [Encrypt sensitive data](/instant-issuance/integrate-d1-api/encrypt-sensitive-data.md)
  {% endstep %}

{% step %}

### Request card production

Call the Produce physical card operation.

Set `distributionChannel` to `INSTANT`.

Provide the instant issuance required fields:

* `persoStation`: the personalization station identifier
* `encryptedData`: JWE-encrypted card data fields
* `services`: issuance options configured during D1 onboarding
* `paymentApplication`: EMV configuration reference configured during D1 onboarding

{% hint style="info" %}
`persoStation` is defined during D1 onboarding.

Use it to route production to a specific branch or kiosk station.
{% endhint %}

* [Physical Issuance API](/instant-issuance/integrate-d1-api/d1-api-reference/inbound-api-to-d1/physical-issuance-api.md)

Example (key parameters only):

```json
{
  "distributionChannel": "INSTANT",
  "persoStation": "KIOSK-PS-101"
}
```

{% endstep %}

{% step %}

### Receive production status updates

Handle production status updates in your issuer backend.

Configure backend notifications for the physical card issuance status update events (for example, `Produce`).

* [Integrate D1 Notification](/instant-issuance/integrate-d1-notification.md)
  {% endstep %}
  {% endstepper %}

### Next steps

* [Implement Instant Issuance](/instant-issuance/implement-instant-issuance.md)
* [Card order](/instant-issuance/implement-instant-issuance/card-order.md)
* [D1 API reference](/instant-issuance/integrate-d1-api/d1-api-reference.md)


---

# 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:

```
GET https://docs.payments.thalescloud.io/instant-issuance/get-started.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.
