> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.peak-pim.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 🔗 Attaching media to products and collections

There are two ways to connect a media file to a Shopify product or collection in Peak PIM.

# Option 1: from the product or collection

Open the product or collection, then add images or videos from your media library.

# Option 2: from the media file

Open the file in Peak PIM, then link it to the products or collections that should use it.

||| A single file can be reused in as many places as you like, so you only upload it once.