Get started with your LLM or Assistant
Create a new graph in GraphOS and follow the "Set up your local development environment" instructions.
Update your local
router.yamlfile to configure yourANTHROPIC_API_KEY- be sure to update yoursupergraph.yamlto use the same subgraph name (chat).
# router.yaml
connectors:
subgraphs:
messages.anthropic:
$config:
apiKey: ${env.ANTHROPIC_API_KEY}
# supergraph.yaml
federation_version: =2.10.0
subgraphs:
messages:
routing_url: http://messages
schema:
file: messages.graphqlCopy the prebuilt Connector file content into the
.graphqlfile in your local project.Run
rover devwith yourANTHROPIC_API_KEY.
export ANTHROPIC_API_KEY=...
rover dev \
--supergraph-config supergraph.yaml \
--router-config router.yamlConnectors resources
Learn more about Connectors by checking out the Connectors documentation.
Have questions? Check out the Apollo Community for Connectors to discuss.