How to link ERPNext products in Builder

Hi,

I want to know how to integrate data from my ERPNext Backend into my Frappe Builder website App, does any of you know how to do that?

Thank you!

Hi @jordi_marti_gomez,

If you have two separate frappe sites, you can use FrappeClient to fetch data in Data Script.

client = FrappeClient('https://<yoursite>', api_key='<key>', api_secret='<secret>')
items = client.get_list("Item", {...})

Check this thread for FrappeClient usage related discussion.

Thank you surajshetty

I’ve created another topic (For those who want to import and use the ERPNext backend data inside Builder) on how to import the module FrappeClient into Builder

Your response serve as the good one :smiley:
Thank you!

As i have my ERPNext installed on the same site as the Builder, i’ve figured out that calling only frappe: told me several things, so there is a connection already stablished:

image
image

So, calling the correct reference:
image

Did show up all my products:
image

1 Like