> ## Documentation Index
> Fetch the complete documentation index at: https://cosmo-docs.wundergraph.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Migrate from Apollo

> Migrate from Apollo GraphOS to WunderGraph Cosmo with a single click

If you are a user of Apollo GraphOS with configured graphs, then you can migrate to WunderGraph Cosmo with a click of a button.

![WunderGraph Docs showing no graphs found with option to migrate from Apollo](https://mintcdn.com/wundergraphinc/nR5X5HWNIS7xjYKE/images/studio/no-graphs-found-migrate-from-apollo.png?fit=max\&auto=format\&n=nR5X5HWNIS7xjYKE\&q=85\&s=62bd2cc78a43134d7e024ec6f30bbf27)

Migrate from Apollo button

Once you have clicked on "Migrate from Apollo", a modal will appear. This modal will request your "Graph API Key" for the federated graph you wish to migrate.

> [!NOTE]
>
> Your API key is never saved nor stored; it is only temporarily used to fetch the necessary data for migration.

### Steps to fetch the graph API key

**1. Navigate to Apollo GraphOS Studio**

**2. Select the graph that has to be migrated**

![Cosmo Docs cloud supergraph section with main variant and graph search bar](https://mintcdn.com/wundergraphinc/RN72sgIyfy9HBPRO/images/studio/cloud-supergraph-section-overview.png?fit=max\&auto=format\&n=RN72sgIyfy9HBPRO\&q=85\&s=49557b666072e45f8647a2eee5c0e225)

**3. Navigate to the settings page of the graph**

![Cosmo Docs user interface showing settings option in operations section](https://mintcdn.com/wundergraphinc/nR5X5HWNIS7xjYKE/images/studio/settings-option-in-operations-section.png?fit=max\&auto=format\&n=nR5X5HWNIS7xjYKE\&q=85\&s=3cd0f3b6f95ba619213d86ffb5e29606)

**4. Navigate to the 'This Graph' tab and click on API Keys**

![Cosmo Docs settings page for build variant with This Graph tab highlighted](https://mintcdn.com/wundergraphinc/RN72sgIyfy9HBPRO/images/studio/build-variant-settings-this-graph.png?fit=max\&auto=format\&n=RN72sgIyfy9HBPRO\&q=85\&s=10e4d7d293941b577261a6e9e78dcff2)

![General settings section showing API Keys highlighted as current selection](https://mintcdn.com/wundergraphinc/RN72sgIyfy9HBPRO/images/studio/api-keys-highlighted-in-general-settings.png?fit=max\&auto=format\&n=RN72sgIyfy9HBPRO\&q=85\&s=ddd98487e858cfe5f9c549be11f675e4)

**5. Create a new key and copy**

![Create API key for Spotify Demo Graph to uniquely identify data](https://mintcdn.com/wundergraphinc/RN72sgIyfy9HBPRO/images/studio/create-api-key-for-spotify-demo-graph.png?fit=max\&auto=format\&n=RN72sgIyfy9HBPRO\&q=85\&s=ff64fd6544f83277607c9cf3cdf4a5f2)

![Cosmo Docs migration modal showing Graph API Key and Variant Name fields](https://mintcdn.com/wundergraphinc/RN72sgIyfy9HBPRO/images/studio/apollo-migration-page-with-api-key-fields.png?fit=max\&auto=format\&n=RN72sgIyfy9HBPRO\&q=85\&s=f849466429f563e0515ae40233465b01)

Migrate from Apollo modal

Once you have acquired the key, paste the key into the Graph API Key input, type the name of the variant to be migrated into the Graph Variant Name input and click on the "Migrate" button.

That's it! After a few seconds, your graphs will have been successfully migrated to WunderGraph Cosmo.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.