How to wire background extensions up properly in SuiteCRM 8.x

Hey I am trying to extend the graphql api in suite 8 and I’m a bit unsure how to get suite to use the backend part of my extension. I saw in the documentation that it’s meant to automatically provide all of the services etc. from the backend extension but I know that I’m missing something. This is my current backend folder layout.

If anyone has an example of a working backend extension I would love to see it! I think working back from a working example would help me a lot!

This is my current backend folder structure:
image

This example works as long as the browser is logged on to SuiteCRM in some tab

I never got around to handling the authentication (and storing the cookies?) but I think this is a good start for you.