For AI agents: the complete documentation index is available at https://docs.dataplatform.ovh.net/llms.txt, the full documentation bundle is available at https://docs.dataplatform.ovh.net/llms-full.txt, and this page is available as Markdown at https://docs.dataplatform.ovh.net/getting-started-visualize-data.md.
  • πŸ‡¬πŸ‡§ English
  • Build and deploy a front-end application

    In this tutorial you'll learn how to build and deploy your first application. To make it easier for you, you won't start from scratch

    Objective

    In this tutorial you'll learn how to build and deploy your first application. To make it easier for you, you won't start from scratch. We've prepared a template to accelerate the process, thanks to pre-built graphs.

    Initiate your application from Application Services by clicking Create an application.

    Application Services

    Select the template ReactJS - Getting Started from the store. Thanks to this template, you will be able to produce a great-looking BI dashboard in no time!

    Application Services

    Fill in the different fields as shown in the screenshot below and press Confirm.

    Application Services

    Click on Confirm, your app will automatically build and deploy. The process should take a couple of minutes ⏳, in the meantime feel free to read through the pre-requisites below.

    Requirements

    Every previous step of the Getting Started guide must have been completed:

    • The API is up and running.
    • Queries in the Analytics Manager are properly requesting your data warehouse.
    • The Lakehouse Manager shows a properly built logical schema. Virtual attributes are created and tables linked.
    • Your Data Processing Engine workflow has been correctly run.

    Ready to create your first dashboard? Let's go! πŸ„πŸ»

    Set up your canvas

    Click on the Dashboard menu. In an app, dashboards are its pages.

    A first dashboard, Rides Analytics, has been added by default when you selected the template at the beginning. It comes with styles and logos!

    Application Services

    Click on the house icon to set it as the default landing page of your app.

    Application Services

    Set up a header

    Head to the Menus menu. It is the page where you can define items such as header menus and filters for your whole app. It has already been pre-populated with several pages and items due to the template you used to initiate the app.

    You should land on the header page. This means every item you add here will be embedded in the header of your app (i.e the upper part). You can switch to the sidebar page (to embed items in the left sidebar of your app) at the top right-hand corner.

    Application Services

    Switch back to the header page. Expand tabs to see the container's items. Click on Add an item to add a tab in your header. Select link.

    Application Services

    Fill in the fields as shown below. You can also define a logo icon for your app header!

    Application Services

    Set up a dynamic parameter

    Dynamic parameters are widgets to filter your data on your pages. Here, you will add one dynamic parameter to filter on the date.

    Click on Sidebar on the top right-hand corner and create a container.

    Info

    If you are unfamiliar with containers, think of them as folders for items.

    Application Services

    Drag the new container on top of the footer (which has to be at the bottom).

    Application Services

    Open the container then add an item: select Parameters.

    Application Services

    Pick the Select box one, then head to the options of the new parameter.

    Application Services

    Fill in the options as shown in the screenshot below.

    Application Services

    In the Infos tab, give it the following name: select_stations, and press Confirm.

    Info

    Note that every dynamic parameter like the date picker and select boxes can be customized. To learn how to do that, head to the technical documentation for application components!

    Learn more about dynamic parameters.

    Your canvas configuration is now done. βœ… With a menu and a filter, you can now create your first graph.

    Set up a chart

    Go to the Dashboard tab and click on the Edit icon on your Ride Analytics dashboard. You can see that the menu and the filter we've just created are well set up here!

    Application Services

    Step 1. Create a panel

    Click on the βž• icon to create a panel (Containers > Panel).

    Application Services

    Once it's created, you can resize it so it spans across the screen.

    Application Services

    Step 2. Give a title to your chart

    Inside your new panel, click on the βž•icon and select Basic UI >Β HTML.

    Application Services

    Name it Rides history and apply the H1 style by clicking on the H button.

    Application Services

    Step 3. Generate your chart

    Inside your panel, click on the βž•icon and select Chart. Pick the Recharts - Bar type.

    Application Services

    Click on Request, and select Query selector to pick the rides_per_month query you've created in the Analytics Manager.

    Application Services

    To complete the setup, you have to connect this chart with the filter we've already created. Go to the Infos tab, in the Linked dynamic parameters section, and add select_stations.

    Application Services

    You can now test if your filter is properly working. Enter the read-only mode by clicking on the Play icon, and modify dates or holiday type to see how your data is changing. Your first chart is done!

    Application Services
    Info

    At this point, you are pretty much done with your first dashboard! But you might want to make it look better πŸ§‘πŸΌβ€πŸŽ¨. In our Getting Further guide series, we have released more tutorials for you to check out: click here to learn more about the app builder's capabilities!

    Build and deploy the new version of your app

    You're almost finished! Just one last step! Let's put your dashboard into production.

    First, don't forget to Save your dashboard to make sure all your edits are consistently saved (πŸ’Ύ icon in the top middle bar).

    Application Services

    Then go back to the Overview tab of the Application Manager.

    Changes brought to your application since you first created it must be builded in order to be visible by your end-users. You could stop the currently deployed version to build those changes, but the Platform also allows you to do it without interruption of service.
    First, Copy the currently deployed version of the application.

    Application Services

    Then you need to name the new version (v2 in the screenshot below).

    Application Services

    Now, click on Build, and then Deploy.

    Application Services
    Info

    The build process usually takes a couple of minutes. If you're curious about what is going on or if the build fails, open the log console by expanding the version panel and inspect the logs. Feel free to send logs to our support team πŸ’πŸ’β€β™‚οΈif you're not sure how to troubleshoot it yourself!

    Your app is live and can now be accessed online! The link can be obtained in the Overview tab by clicking on Open.

    Info

    The Identity Access Manager lets you configure access rights to your app and your Project administration.

    Application Services Application Services

    That's it! Your dashboard is live and accessible by your users. Its data is refreshed automatically every day, stored in the cloud and will always be reliable.

    You've completed the Platforms' Getting Started tutorial! You're now ready to go live on the platform, explore by yourself and take on your own Projects by yourself.

    Obviously, you can come back to this tutorial at any time! We encourage you to check out the rest of the documentation to dive deeper into a specific component of the product when needed.

    The next step will consist of discover advanced features of the app builder.

    Customize your first app further

    More!

    Also, don't hesitate to get in touch if you need anything, our support & product team is dedicated to helping you deliver faster any AI applications you have in mind.

    Go further

    If you need training or technical assistance to implement our solutions, contact your sales representative or click on this link to get a quote and ask our Professional Services experts for a custom analysis of your project.

    Ask questions, give your feedback and interact directly with the team building the Data Platform on the dedicated Discord channel.

    If you need support with your OVHcloud services, create a request in our Help Centre.

    Join our community of users.