# Shared Content - Add Card Tokenization
source: https://developer.mastercard.com/mdes-digital-enablement/documentation/use-cases/add-card-shared-content/index.md

This use case describes how you could allow a consumer to tokenize a card and associate it with their website profile for later payment use. For example:  

1. The Consumer logs in to their profile and clicks **Add card**.
2. The Consumer enters their card details and clicks **Save**.
3. Mastercard recommends your system perform regular card checks to verify the cards as per your current process.
4. If the card checks are successful, your system sends a **Tokenize** request with the encrypted Account PAN details and optional data to support the decision to tokenize. It is recommended to send at least Account PAN number, Account PAN expiry date and Account PAN Security code such as CVC2 for Add Card Tokenization in the **Tokenize** request.
5. If MDES returns a declined decision in the previous step, you will not be able to tokenize the Account PAN and will need to proceed with the full Account PAN and retry the tokenization process at a later stage, depending on the error type received.
6. If the tokenization request is not declined, associate the returned token details with the consumer's merchant profile. The response contains the token number in tokenDetails, last 4 digits of the Account PAN in tokenInfo, and card art details in the **productConfig** object. The last 4 digits of the token are also returned; however, Mastercard recommends that they are not used to represent Account PANs to ensure consumers remain unaware of the tokenization process. After receiving the Tokenize response, the token has been provisioned and you can display the card as active.
7. You can then call the Transact API with the TUR to fetch the actual token, token expiry \& cryptogram. The token and cryptogram can then be used for the transaction and TUR to be associated with the consumer's merchant profile for future use

If you plan to display card art, you should use **Get Asset** requests to obtain (and cache) the card art image assets for display; see [Displaying Tokenized Account PANs](https://developer.mastercard.com/mdes-digital-enablement/documentation/use-cases/add-card-shared-content/index.md#display-payment-info) for more details. Update the state you maintain for this token in your system. See [Making Payments with Tokenized Account PANs](https://developer.mastercard.com/mdes-digital-enablement/documentation/use-cases/add-card-shared-content/index.md#making-payments) and [Storing Cryptograms](https://developer.mastercard.com/mdes-digital-enablement/documentation/use-cases/add-card-shared-content/index.md#storing-cryptograms) for details.
