---
title: Import assigned shareable codes
slug: import-assigned-shareable-codes
description: If you are migrating to Roster from another ambassador or influencer platform and want to bring over existing shareable discount codes, you can import these.
docTags: 
createdAt: 2024-12-05T17:15:39.720Z
---

If you are migrating to Roster from another ambassador or influencer platform and want to bring over existing shareable discount codes, you can import these assigned codes into a Roster discount rule for proper tracking and management. This ensures ambassadors see their shareable codes in the Ambassador Portal, and that referrals are credited accurately.

***

## Step-by-step instructions

::::WorkflowBlock
:::WorkflowBlockItem
### Prepare your CSV file

1. Export your existing assigned codes from the platform you're migrating away from or from your e-commerce store.&#x20;
2. Ensure your CSV file contains two columns labeled:
   1. `Code` - this column contains the codes to import.
   2. `Email` - this column contains the email addresses of the ambassadors to whom the codes will be assigned in Roster. Ambassadors with these email address must have already been imported into your Roster account.
   3. Each row should contain one and only one pair of code + email address that you want to import.

Download this sample CSV for reference:&#x20;

::File{src="https://api.archbee.com/api/presign/1gdZ9Yjy-k8GW0Lioyrwz-91oKUf9Vm4cSSCvGQsjXt-20250124-164700.csv" label="assigned shareable codes.csv"}
:::

:::WorkflowBlockItem
### Open the shareable discount rule in Roster

1. Log in to your Roster account.
2. Navigate to the `Discount Rules` page and select the relevant *shareable* discount rule (e.g., linked to a specific ambassador program).
:::

:::WorkflowBlockItem
### Start the import process

1. Click on `More Actions` > `Import`.
2. Select `Import assigned codes` from the popup menu.
:::

:::WorkflowBlockItem
### Upload the CSV file

1. Click `Browse` and select your prepared CSV file.
2. Roster will display the total number of codes to be imported.
3. Verify the preview and click `Import`.
4. Wait for the import to complete. For large imports, this may take a few minutes.
:::

:::WorkflowBlockItem
### Confirm imported codes

1. Check the `Assigned Codes` count at the top of the discount rule to ensure the codes were imported successfully.
2. Click on any ambassador’s profile linked to the imported codes to verify they see their assigned code in the `Discounts and Links` section.
:::

:::WorkflowBlockItem
### Verify codes in your e-commerce platform (optional)

1. If the discount rule is linked to a Shopify store, click `Details` > `View in Shopify` to confirm the codes are synced in your Shopify admin panel.
2. For other platforms, ensure the codes you imported into Roster match those in your e-commerce system.
:::
::::

***

## Related articles

- [Import unassigned shareable codes](docId:67rGKGW8HfAD6IvhDI8nx)&#x20;
- [Import unassigned reward codes](docId\:kow80kdg8ep64tg_wzDoT)&#x20;
- [Import assigned reward codes](docId\:GQ8-fmgl4zJi3fKilnxMc)&#x20;

***

## Need help?

For questions about importing assigned shareable codes or additional guidance, please contact us at [support@getroster.com](mailto\:support@getroster.com).&#x20;
