---
schema_version: "1"
id: be14a4aa837b7e24210b71308e39edda7807fbce1c15dd640d8765580ce817a2
title: Create a Size Passport
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/rt_cms_modules_create_size_passport.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.rt_cms_modules_create_size_passport.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 25494d3bdacc169317597220c25576de6b27956333e3e1b9907569473c4d4f97
description: View and add to your list of Custom-Made sizes in the Point of Sale (POS) app.
products:
  - Commerce
release: "264"
---
# Create a Size Passport

View and add to your list of Custom-Made sizes in the Point of Sale (POS) app.

Prerequisites:

- Modern POS App build: 6.1.4 21727 or later.
- Platform Support: iPhone and iPad
- Offline Support: no
- Technical Prerequisites:
    - An endpoint that is used to generate a token using a POST call.
    - Customer should support Web Pages that handle the authentication tokens.
    - Customized Products is a web configurator used by some of our customers.

## Turn on App Settings

1. Go to **App Config > Modules > Settings**.
2. Under **Web Token URL**, enter the token service endpoint.
3. Under **Web Token Scope**, enter the scope of the token permission, passed in the request as _"resource"._
4. Under **Web Token Grant Type**, enter the token type passed in the request as _"grant\_type"._
5. Under **Web Token Client ID**, enter the client ID to call the token service, passed in the request as _"client\_id"._
6. Under **Web Token Client Secret**, enter the client ID to call the token service, passed in the request as _"client\_secret"._

## Configure a Size Passport Deep Link

1. Add a deep link to a layout cell or in a hamburger menu.
2. Select **URL** as the deep link type.
3. Add the URL for the size passport endpoint with these parameters:
    1. **token=1**: To generate an Azure token so it's passed to the size passport call
    2. **dyo=1**: To indicate that the URL is a DYO endpoint
    3. **storeId=:ps\_store\_id**: Use the PS tag to be replaced with the user's store ID
    4. **CustomerID=:ps\_alternate\_customer\_id**: Use the PS tag to be replaced with the user's ID

## Workflow Details

1. A token will be generated by the POS app using the values set in CMS.
2. After this call is successful, the POS app launches the Custom-Made + Size Passport web app.
3. The app receives the ‘**configurators:addToBag**’ event if a product is added to the bag. This works out of the box for Custom-Made products.
4. After a customer is selected, the app receives the ‘sp-account’ event. The app holds on to this value and log in the customer after a product has been added to the cart.