Skip to main content
If you have graphs in Apollo GraphOS, you can migrate them to WunderGraph Cosmo from Studio. On the graphs page, click “Create” and select the “Migrate from Apollo” tab. If the organization has no graphs yet, the graphs page also links to it.
WunderGraph Docs showing no graphs found with option to migrate from ApolloWunderGraph Docs showing no graphs found with option to migrate from Apollo

Migrate from Apollo on the empty graphs page

The form asks for the “Graph API Key” of the federated graph to migrate and the name of the variant.
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
3

Navigate to the settings page of the graph

Cosmo Docs user interface showing settings option in operations section
4

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

Cosmo Docs settings page for build variant with This Graph tab highlighted

General settings section showing API Keys highlighted as current selection
5

Create a new key and copy

Create API key for Spotify Demo Graph to uniquely identify data

Cosmo Docs migration form showing Graph API Key and Variant Name fieldsCosmo Docs migration form showing Graph API Key and Variant Name fields

Migrate from Apollo form

Paste the key into the “Graph API Key” input. Enter the variant to migrate in the “Graph Variant Name” input. Click “Migrate Graph”. Cosmo creates the federated graph and its subgraphs, then shows a graph API token with the command to run the router. The token is shown once, so store it safely. You can generate new router tokens later from the graph’s overview page.