> ## Documentation Index
> Fetch the complete documentation index at: https://wundergraphinc-brendan-add-external-directive.mintlify.site/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.

<Frame caption="Migrate from Apollo button">
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/wundergraphinc-brendan-add-external-directive/images/studio/image-33.png" />
</Frame>

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.

<Info>
  Your API key is never saved nor stored; it is only temporarily used to fetch the necessary data for migration.
</Info>

### Steps to fetch the graph API key

<Steps>
  <Step title="Navigate to Apollo GraphOS Studio" />

  <Step title="Select the graph that has to be migrated">
    <Frame>
      <img src="https://mintlify.s3.us-west-1.amazonaws.com/wundergraphinc-brendan-add-external-directive/images/studio/image-34.png" />
    </Frame>
  </Step>

  <Step title="Navigate to the settings page of the graph">
    <Frame>
      <img src="https://mintlify.s3.us-west-1.amazonaws.com/wundergraphinc-brendan-add-external-directive/images/studio/image-35.png" />
    </Frame>
  </Step>

  <Step title="Navigate to the 'This Graph' tab and click on API Keys">
    <Frame>
      <img src="https://mintlify.s3.us-west-1.amazonaws.com/wundergraphinc-brendan-add-external-directive/images/studio/image-36.png" />
    </Frame>

    <br />

    <Frame>
      <img src="https://mintlify.s3.us-west-1.amazonaws.com/wundergraphinc-brendan-add-external-directive/images/studio/image-37.png" />
    </Frame>
  </Step>

  <Step title="Create a new key and copy">
    <Frame>
      <img src="https://mintlify.s3.us-west-1.amazonaws.com/wundergraphinc-brendan-add-external-directive/images/studio/image-38.png" />
    </Frame>

    <br />

    <Frame caption="Migrate from Apollo modal">
      <img src="https://mintlify.s3.us-west-1.amazonaws.com/wundergraphinc-brendan-add-external-directive/images/studio/image-39.png" />
    </Frame>
  </Step>
</Steps>

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.
