Skip to content

Apollo Federation

You can define a site specific configuration for managed Apollo federation.

Retrieve credentials

Go to Apollo Studio and you will be prompted with a popup for the credentials.

The graph setting can be determined from the APOLLO_KEY string, use the name between the two : characters.

Example site configuration block

An example site block:

apollo_federation:
  api_key: service:mach-poc-123:Abc00kHbB89h
  graph: mach-poc-123
  graph_variant: current

Integrate with components

When apollo_federation is set as an component integration, the component should have the following Terraform variables defined:

  • apollo_federation

Further reading

For more instructions on how to integrate Apollo Federation into your MACH stack, read our how-to.