{"section":"tutorials","requestedLocale":"en","requestedSlug":"adding-an-attachment","locale":"en","slug":"adding-an-attachment","path":"docs/en/tutorials/catalog/custom-product-attributes/adding-an-attachment.md","branch":"main","content":"Attachments can be used to [complement a product with custom information](/en/docs/tutorials/what-is-an-attachment). To add an attachment, go to VTEX Admin and follow the step-by-step instructions below.\n\n1. In the VTEX Admin, go to **Catalog** , or type **Catalog** in the search bar at the top of the page.\n2. Click **Custom product attributes**.\n3. Click on `New Attachment`.\n4. Fill in the following fields:\n    * **Name:** name of the attachment you want to add. The name must be unique in the system and must contain only letters, numbers, or periods. This field is required.\n    * **Attachment Required:** defines whether the attachment will be required or optional when the customer purchases the product.\n    * **Status:** enables or disables the attachment in your store.\n5. Click on `Save`.\n\n## Adding keys and permitted values\n\nAfter adding the attachment, you need to add the keys and **permitted values** related to it. You can add as many keys as you wish. To add the keys and **permitted values**, follow the steps below.\n\n1. On the **Custom product attributes** page, find the row of the attachment you have created and click `Modify`, as illustrated in the image below.\n  ![anexos.pt](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/catalog/custom-product-attributes/adding-an-attachment_1.PNG)\n2. Fill in the fields listed below.\n    * **Key Name:** name of the custom information. This field is required and must contain only letters, numbers, or periods. For example, if the customizable product is a U.S. soccer jersey, its key names can be `Name` and `Number`.\n    * **Maximum Number of Characters:** the maximum number of characters the customer can type to add custom information to the product. For example, in this field you could set the character limit for the name that will be printed on a shirt. This field is required. If you do not fill it in, the attachment will not be displayed to your customer as a selection option in the cart.\n    * **Permitted values:** the values that your customer can select for customization, separated by commas. For example, by populating this field with `5,7,9,10`, you allow your customer to include one of these numbers on a shirt.\n3. Click `Add New`. You can add other keys by repeating this process.\n4. Click on `Save`.\n\n> ⚠️ The **Maximum Number of Characters** field is required. If you do not fill it in, the attachment will not be displayed to your customer as a selection option in the cart.\n\n## Associating the attachment with a SKU\n\nAfter creating the SKU attachment and configuring its keys and permitted values, you must associate it with one or more existing SKUs. To do this in the VTEX Admin, follow the steps below.\n\n1. In the VTEX Admin, go to **Catalog** , or type **Catalog** in the search bar at the top of the page.\n2. Click on **All products**.\n3. Select the SKU you want to associate the attachment with.\n4. Click on the **Advanced Settings** tab.\n5. Associate the SKU with the attachment you have created by clicking the check box next to it.\n6. Click on `Save`.\n\nYou can also associate an attachment to an SKU by using the [Catalog API](https://developers.vtex.com/docs/api-reference/catalog-api#post-/api/catalog/pvt/skuattachment).\n\n> ⚠️ VTEX does not control the inventory of the attachment. This is the responsibility of the Marketplace or the Seller."}