To embed a collection, you will need to publish it on your profile by following these steps:
1. Click on the 'Share' button.
2. From the sharing dialog, select the 'Publish' tab.
3. Publish your collection, and it will be added to your profile.
4. Once you have published it, you will see the "Embed this collection" button.
Now, you have the option to customize the appearance and functionality of the collection and generate the embed code.