New to Dataiku DSS? Try out our NEW Quick Start Programs today and get onboarded on the product in just one hour! Let's go

Access project key in Webapp bokeh application

Solved!
tomas
Level 5
Access project key in Webapp bokeh application
Hi,

how can I get the current project key inside the Bokeh webapp application? I dont want to hard-code the project's project key into the webapp, because after using the same code in other webapp in other project I need to change the code.

Thanks
0 Kudos
1 Solution
Alex_Combessie
Dataiker
Dataiker

Hi,



You can use the dataiku API from the bokeh webapp:




import dataiku
dataiku.default_project_key()


Best regards,



Alex

View solution in original post

0 Kudos
1 Reply
Alex_Combessie
Dataiker
Dataiker

Hi,



You can use the dataiku API from the bokeh webapp:




import dataiku
dataiku.default_project_key()


Best regards,



Alex

View solution in original post

0 Kudos
Labels (3)
A banner prompting to get Dataiku DSS