# Connect a REST endpoint to a serveless supergraph

**URL:** <https://community.apollographql.com/t/connect-a-rest-endpoint-to-a-serveless-supergraph/7521>\
**Category:** GraphOS\
**Tags:** federation, studio\
**Created:** [May 14, 2024, 3:41am UTC](https://community.apollographql.com/t/connect-a-rest-endpoint-to-a-serveless-supergraph/7521 "2024-05-14T03:41:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunnytoolsmiths](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/sunnytoolsmiths/32/4834_2.png) [@sunnytoolsmiths](https://community.apollographql.com/u/sunnytoolsmiths)\
**Post date:** [May 14, 2024, 3:41am UTC](https://community.apollographql.com/t/connect-a-rest-endpoint-to-a-serveless-supergraph/7521/1 "2024-05-14T03:41:09Z")

</div>

Hey Team, just want to confirm if there is a way to directly connect a REST endpoint to a serverless version of supergraph?

I doubt it but wanted to confirm it.

Thank you!!

Sunny

---

<div class="post-metadata">

**Author:** ![Michelle\_Mabuyo](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/michelle_mabuyo/32/80_2.png) [@Michelle\_Mabuyo](https://community.apollographql.com/u/Michelle_Mabuyo)\
**Post date:** [May 16, 2024, 3:40pm UTC](https://community.apollographql.com/t/connect-a-rest-endpoint-to-a-serveless-supergraph/7521/2 "2024-05-16T15:40:47Z")

</div>

Hey Sunny! Thanks for asking. You’re right, we can’t connect a REST endpoint directly to a supergraph. You’d need to create a subgraph that uses the REST endpoint as a data source and write up the resolvers. I know you’ve taken our Odyssey courses, so you should hopefully be equipped to do so! Let us know if you run into any issues though.
