> For the complete documentation index, see [llms.txt](https://thred-1.gitbook.io/thred/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://thred-1.gitbook.io/thred/basics/interactive-blocks.md).

# Migrate a Customer

Once you have a Customer ID from the customer you're migrating, redirect them to your Hosted Migration Page

```typescript
// Redirect to Thred Migration Page with Customer ID

function migrateCustomer(clientId: string, customerId: string) {
  const url = `https://migrate.thred.ai/${clientId}/?customer=${encodeURIComponent(customerId)}`;
  window.location.href = url;
}
```

If you set your Redirect URL in your dashboard, Thred will redirect to that URL after the migration completes.
