Use/Render datasource QueryEditor in App plugin

Hi,

I’m creating an App plugin that needs data to properly work.
The data is intended to be collected from one of the available and configured datasource.
While in the source code, I know, and I’m able to trigger a request on a specific datasource with a query written as text in an input field, my users would like to be able to create the query using the already available query editor of the datasource as it is more user-friendly, contains help, more integrated with the datasource.

Here is my question: How can I render an already existing query editor (like InfluxDb, Prometheus, …) in my App plugin ?

Thanks