---
title: "Export data from DataRefiner to Onesait Platform"
canonical: "https://onesaitplatform.refined.site/space/DOCT/2220794658/Export%20data%20from%20DataRefiner%20to%20Onesait%20Platform"
format: markdown
---
### Introduction

The DataRefiner module can be accessed with the ADMINISTRATOR and ANALYTICS roles, from the Control Panel menu option

![image](media://3e77d2a7-3b75-48ec-a04f-158e2ae47524)

After this, you access the project that you intend to export to the Platform.

![image](media://0e3c8c71-3f9b-4e15-ae39-96c0aed62b9e)

Click on “Onesait Platform”, then on the option “EXPORT TO ONESAITPLATFORM” and a dialog window appears

![image](media://397fc1ae-c817-49dd-a5d4-d46bf629edd2)

### Export screen

Description of the different components that make it up

![image](media://2e4c2aa7-259a-40f1-ac61-698c85ad168c)

The prefix is prepended to the entire result of running the template on the data

![image](media://2977b176-8924-4d56-9147-55cdfd2813c9)

The suffix goes to the end of all the result of executing the template on the data

![image](media://38098ffe-24db-4b3e-96d5-edd103ce6e56)

Here is the row separator

![image](media://d25dc06f-6d7a-4ed4-925d-d12f30b67836)

Here the template is implemented, which is used for each of the rows, it allows generating a result in this case a JSON object for each row that is how it is sent to the platform.

![image](media://ed2052dc-24cd-45bb-aefb-6a6c5f193089)

With this button we return the template to its initial state

![image](media://b5eaa1e0-e4d1-4398-a4e9-d881b69b4da4)

In this area we see the reduced result of applying all prefix separator suffix and template to the data

![image](media://acac0df6-fbae-4858-a672-9c23092732b3)

### Form to export the data to the platform

![image](media://96fa77d1-7d21-4d4d-9ba3-5e7d6cc36fd9)

**Use Proxy, Proxy and ProxyPort:** They will be filled in if you have to use a proxy.

**Token**: corresponds to the user's oauth2 token can be retrieved as follows,

Press the icon with the three dots in the header of the control panel menu and the APIS option

![image](media://f461f633-5c3b-4edc-87c4-b97f9443235a)


Click on **Bearer **... and it will be copied to the clipboard, just having to paste it into the token field of the form

![image](media://38b0e5b5-39b0-4bd4-8e21-b69c4b959be5)

![image](media://8d502a11-168c-4119-a1a1-d5b89be8a45b)


**New Ontology: **From this form you can mark this check in which case both Ontology Name and Ontology Description must be filled in and when exporting the data a new ontology will be created with the loaded data.

![image](media://b0f3bde7-c5a2-45e8-bf82-fbc9bd146829)

**Ontology Name**: it is mandatory to indicate the name of the ontology where the data will be loaded.

**Export button**: Clicking on it begins the process of exporting the information to the platform.

![image](media://a4ef8cba-50de-4b62-b83b-f3c74fda6a54)

**Export to JSON File button: **This button exports the information to a file with the JSON format, it is not necessary to fill in the form to be able to execute it.

![image](media://49156fd5-79ae-4c4d-82b6-91ac8c2d2ab4)

**Alert messages:** This text box will appear under the title of the dialog window in case to indicate to the user alerts, errors or if the data has been successfully exported.

![image](media://5fd17793-3ed1-40a2-aade-521f2c4efc17)