---
title: "How can I migrate my Apollo Server to a Federated deployment?"
canonical: "https://support.apollographql.com/space/ETKB/655228995/How%20can%20I%20migrate%20my%20Apollo%20Server%20to%20a%20Federated%20deployment%3F"
format: markdown
---
You can migrate Apollo Server (or other [compatible server](https://www.apollographql.com/docs/federation/other-servers)) to Apollo Federation with the following steps:

## 1. Create a gateway

The gateway will be the entry point to your graph that routes queries to various subgraphs. Please see our [quickstart guide with examples](https://www.apollographql.com/docs/federation/quickstart#2-create-a-gateway)

## 2. Convert and divide your existing GraphQL schema into multiple subgraphs

To convert your Apollo Server instance into a subgraph server, see [this article](https://www.apollographql.com/docs/federation/quickstart-pt-3#1-configure-apollo-server)

When deciding how to divide your existing schema across multiple subgraphs, check out the following resources: [Federated schema design](https://www.apollographql.com/docs/federation/enterprise-guide/federated-schema-design)

[Principled GraphQL - federated implementation](https://principledgraphql.com/integrity#2-federated-implementation)

## 3. Publish your subgraphs

With managed federation, we register each of our subgraph schemas with Apollo Studio.

Whenever a subgraph schema changes, you should register that change with Apollo Studio using the Rover CLI tool; Apollo Studio takes care of the rest, and compose the changes into an updated supergraph schema.

Please see the docs below to get started!

[Managed Federation Setup](https://www.apollographql.com/docs/federation/managed-federation/setup)

[Apollo Studio Docs](https://www.apollographql.com/docs/studio/getting-started)