Apollo Federation with Relay

We are currently using apollo federation for our graphql API. However we are seeing a need to use relay specifications. Specifically the node and nodes query. Is there any supported documentation on how this can be done with a federated gateway when deciding which subgraph the request should be to sent to based on the global id alone?