Once you've created a pass and encoded it in a signed JWT, you are ready to issue it anywhere that the 'Add to Google Wallet' link is supported. To do this, you will present your user with an 'Add to Google Wallet' button or a hyperlink, which will save the pass to their Google Wallet once they tap it. Examples of where you might use this method include websites, email, SMS, and more.

> [!TIP]
> **Demo Mode / \[TEST ONLY\] passes**
>
> When you are still in [Demo Mode](https://developers.google.com/wallet/retail/resources/terminology#demo-mode), all the passes that you create will have an additional text "\[TEST ONLY\]" in the title. This is to differentiate demo passes from live passes. Once you are granted [publishing access](https://developers.google.com/wallet/retail/test-and-go-live/request-publishing-access), these demo mode passes will no longer have the additional text when the user reopens the wallet app on a connected device.

## Prerequisites

Before you try to issue a pass, be sure you do the following:

- Complete all of the steps in the [Onboarding guide](https://developers.google.com/wallet/retail/getting-started/onboarding-guide).
- Create at least one [Passes Class](https://developers.google.com/wallet/retail/use-cases/create#creating_a_passes_class).
- Create at least one [Passes Object](https://developers.google.com/wallet/retail/use-cases/create#creating_a_passes_object).
- [Encode](https://developers.google.com/wallet/retail/use-cases/jwt#encoding-a-pass-in-a-jwt) your Passes Class and Passes Object in a JWT.
- [Sign](https://developers.google.com/wallet/retail/use-cases/jwt#web,-email,-and-sms) your JWT with your Google Cloud service account key.

## 1. Create an 'Add to Google Wallet' link

Issuing a pass with an 'Google Wallet' link adds the Passes Object to a user's Google Wallet, and can only be initiated in the context of a logged-in Google identity.

The 'Add to Google Wallet' link is a dynamically generated URL that contains an [encoded and signed JSON Web Token (JWT)](https://developers.google.com/wallet/retail/offers/web/jwt).

The Add to Google Wallet link has the following format:

```
https://pay.google.com/gp/v/save/<signed_jwt>
```

For example, a fully-formed 'Add to Google Wallet' link will look something like this:

```
https://pay.google.com/gp/v/save/eyJhbGci6IkpXVCJ9.eyJhdWQiO...6EkC1Ahp6A
```

This link can be embedded into websites, email, chat, SMS, or anywhere else that supports hyperlinks.

> [!WARNING]
> The safe length of an encoded JWT is 1800 characters. If your JWT is less than this limit, the entire object can be included in the signed JWT. If the length is over 1800 characters, the save may not work due to truncation by web browsers. See this [FAQ](https://developers.google.com/wallet/retail/offers/resources/faq.md.txt#my-jwt-link-url-exceeds-the-1800-character-limit-browser-restriction.-what-should-i-do) for more info.

For more information on creating Passes Classes and Passes Objects, see [Create Passes Classes and Passes Objects](https://developers.google.com/wallet/retail/offers/web/create).

For more information on how to create the signed JWT needed to create an 'Add to Google Wallet' link, see [Working with JSON Web Tokens](https://developers.google.com/wallet/retail/offers/web/jwt).

## 2. (Recommended) Use the 'Add to Google Wallet' button

For any surfaces that support hyperlinking images, such as websites and email, it is recommended to present the 'Add to Google Wallet' link to your users with an 'Add to Google Wallet' button. For Google Wallet users, the button is a familiar prompt that is recognizable as a way to initiate adding a pass to their Google Wallet.
- ![Add to Google Wallet button](https://developers.google.com/static/wallet/images/branding/add-to-wallet-button-primary.png)
- ![Add to Google Wallet button condensed](https://developers.google.com/static/wallet/images/branding/add-to-wallet-button-condensed.png)

[Image assets](https://developers.google.com/wallet/retail/offers/resources/brand-guidelines.md.txt) are available to download in a variety of orientations and languages to support your Google Wallet API integration.

[Download the 'Add to Google Wallet' button](https://developers.google.com/wallet/retail/offers/resources/brand-guidelines.md.txt)