diff --git a/index.js b/index.js
index fe7379556df0857bf2e93ec213a0021704b5e6e8..716ba6057adbc0751769b026a9439b2448c98782 100644
--- a/index.js
+++ b/index.js
@@ -137,10 +137,10 @@ async function start(fields, cozyParameters) {
   try {
     // resetting data for demo only
     // await resetData()
-    const baseUrl = fields.eglBaseURL
-    const apiAuthKey = fields.eglAPIAuthKey
-    // const baseUrl = cozyParameters.secret.eglBaseURL
-    // const apiAuthKey = cozyParameters.secret.eglAPIAuthKey
+    // const baseUrl = fields.eglBaseURL
+    // const apiAuthKey = fields.eglAPIAuthKey
+    const baseUrl = cozyParameters.secret.eglBaseURL
+    const apiAuthKey = cozyParameters.secret.eglAPIAuthKey
     log('info', 'Authenticating ...')
     const response = await authenticate(
       fields.login,