Save References to products from an external api

Hello! I am using Forest with Supabase.

In my Supabase I have Users. From an external API I get Products. I want to save references to those products in Supabase.

I know I could just save ids in an array, but I want to provide a good user expierience where the editor-user can see a list of product names and pick multiple to add to the user.

Is there a way to achieve this in forest admin?

Hi @mattcrn and welcome to our community :slight_smile:

Could you please provide me your agent (forest package) name and version ?

Hello! I am using the cloud version but I am also open to using the node.js agent if this is necessary :slight_smile:

Hi @mattcrn , I am not sure to visualize your setup.
So your database is a Supabase, and how did you define your Products ? Is it supposed to be a smart field from Users with nested data ? Or is it a proper collection ?
If it is possible, could you send me by private message your code customization ?

Best regards,


Another question, your relations between Users and Products are registered in the DB that contains Products ?