This procedure explains how to use its own account to get data from MES server (using API) with Dataiku.
To illustrate the process, the MES server is : estorms01-sv01 (IP21)
Step-by-step guide
Pre-requisites :
- Have read access to estorms01-sv01 with your own Windows account
- Have a datascientist role in Dataiku in order to be able to update a Notebook
In dataiku plateform, go to User Center (1) -> Profile & Settings (2) :
- Go to My Account (1) -> add (2)
- Then add your credential (login (1) and windows password (2)) Don't forget to tick the "secret" box. Then Click on "OK" button (3)
- In your notebook, define the same user as mentioned in step 3 int the following code (example from the notebook : http://dss.solvay.com/projects/TORRELAVEGA_REPRODUCTION/notebooks/jupyter/notebook%20editor%20for%20recipe%20from%20notebook%20FCOMOLET's%20Python%20notebook_2/)
- You can now create a NTLM authentication and give the ntlm_auth parameter to the post request API call (1)
| # Example call for nltm authentication from requests_ntlm import HttpNtlmAuth ntlm_auth = HttpNtlmAuth('EUA\\'+usr, pwd) |
|---|


