Join us on Wednesday, June 3rd for a deep dive into Customer Predictive Analytics Learn more

Can Web Apps be embedded in an external website?

Level 1
Can Web Apps be embedded in an external website?
I would like to know if there is a way to embed a dashboard or web app into an external website, so that the visualization would be updated when the web app/dashboard is updated in DSS.
0 Kudos
6 Replies
Dataiker
Dataiker

Hi Meredith,



As of DSS 2.2, here is what you can do:




  • Embed a web app externally (you can find the URL of the iframe with a browser inspector)

  • Connect to your datasets with the Javascript API (and create your own visualizations with D3 for example)

  • More tricky: create a webapp with a backend Python and serve via an API what you'd like



You cannot expose a DSS Dashboard (or graph) externally. It is a feature that we have in mind but no ETA yet.



I hope that helps.



Jeremy from Dataiku

Jeremy, Product Manager at Dataiku
Level 2
Hi Jeremy,

I came across this post almost 2 years after it was made and I am wondering if there are any updates on it. Thanks!
0 Kudos
Level 2

Hi,

I am also interested if there is a way to expose web-app externally (in 2020)

Thank you!

0 Kudos
Dataiker
Dataiker

Hi,

By design, web-apps developed in DSS require a logged-in user. They can be exposed internally within your organisation but not to external people without a DSS login.

Having said that, you can develop a web-app externally which calls Dataiku API nodes in the backend. This is a common pattern that we have applied in this example: https://blog.dataiku.com/predicting-taxi-fares-in-new-york-using-machine-learning-in-real-time.

You can use this external web-app here: https://taxifare.dss-demo.dataiku.com/

Best regards,

Alex

Level 1

hey @Alex_Combessie quick follow up question, would it be technically possible to implement the same taxi fares application you mentioned fully on the API Node, so that it's externally visible? I know that we can implement it using the Dataiku web apps as explained in the blog post, but is it then possible to move this application (with some modification) to be served by the API Node? I mean using the API Node to serve both the static HTML/JS content + the REST API calls

0 Kudos
Dataiker
Dataiker

Hi,

This taxi fare webapp is a simple Flask app for the front-end, with a Python backend calling the API node endpoint. It's public as it's hosted on an external web server.

 You need a web server to serve the front-end. Dataiku API nodes are meant to be used in the backend.

Cheers,

Alex

0 Kudos
Labels (2)