{"componentChunkName":"component---src-templates-simple-markdown-js","path":"/celonis-apis/connecting-to-celonis-platform/","matchPath":"","result":{"data":{"markdownRemark":{"html":"<h1 style=\"position:relative;\"><a href=\"#connecting-audit-log-login-history-and-studio-adoption-apis-to-celonis-platform\" aria-label=\"connecting audit log login history and studio adoption apis to celonis platform permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"connecting-audit-log-login-history-and-studio-adoption-apis-to-celonis-platform\"></div>Connecting audit log, login history, and Studio adoption APIs to Celonis Platform</h1>\n<p>In <strong>Admin &#x26; Settings</strong> you can view your audit log, team login history, and studio adoption statistics. However, these views are limited with standardized user interfaces. To run a more in-depth analysis of this data, connect to the respective APIs and then use a data extractor to feed this information back into the Celonis Platform. This lets you create your own views in Studio.</p>\n<p>To connect to the APIs and create an extractor, follow these procedures in order:</p>\n<ul>\n<li>\n<a href=\"#creating-an-application-and-granting-it-api-permissions\">Creating an application and granting it API permissions</a>\n</li>\n<li>\n<a href=\"#test-oauth-credentials\">Test OAuth Credentials</a>\n</li>\n<li>\n<a href=\"#migrating-to-oauth-20\">Migrating to OAuth 2.0</a>\n</li>\n</ul>\n<p>Once the data is extracted, you can then create a data model using this data. You are then ready to go to Studio and create a view using the data from the API.</p>\n<h2 style=\"position:relative;\"><a href=\"#creating-an-application-and-granting-it-api-permissions\" aria-label=\"creating an application and granting it api permissions permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"creating-an-application-and-granting-it-api-permissions\"></div>Creating an application and granting it API permissions</h2>\n<p>To start, create an OAuth client in your team and grant this client API permissions.</p>\n<ol>\n<li>\nGo to \n<strong>Admin &#x26; Settings</strong>\n and select \"Applications\".\n</li>\n<li>\nClick the \n<strong>Add New Application</strong>\n button and then select \"OAuth client\" to create your OAuth client.\n</li>\n</ol>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 800px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 56.57894736842105%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAALCAYAAAB/Ca1DAAAACXBIWXMAAAsTAAALEwEAmpwYAAABuklEQVQoz42S3W7jIBCF/f5Pszf7ApWqvdg0v5to1ZuqTRs18Q8YMNiAOTuD3Ujd5qJIIwxmvjlzoKjqBsa6pIzlGTycGyBbDW06WNdjGDx6Cp5dP6Cn8CHks89PCvs/JV6OQzpXAUUjZGqbFqKWGGyP2HtY3RHMTok+5GCQm+EcYQa6ywnu9Az4DnH0qVBS4v3pDYf9EY9/33B+lVAXgUZqlJWEtQOpZHBEWbdQ2l7XMSZUwqDVVMinvF9Ya6GlghYCvTFAoPZIaas6XEqRZ0eqB1L58nrG6b0iOwyp90gjIKiwMQ7jmLLywsw+sYdcIbdBh7uuz4m8lxKyooqsYStYNa9HAvIZRRbFOE7AVhuqovIF8EaMMXvnnM+wEKbWQhjzzHAG8TfHMIQs4AoUZQ1NUNNZCLpZvgBuZ+SsGyMxEenmP76o4ng4oiFfKkHtkPSPZ8MVPwDfiSuwreokGknmsxdmeiJzq/8nsfGTuttQ7+nZdOSVMi6x4Qzjwd5NyV8H1cV87IsbbFNx/2uRfi+WWDw8pOVyhd1uh/V6g+12+yk2my0Ohw1+/Fzj7n6N/f7T/8R5q9Uq/QMxK1Aua2AuaAAAAABJRU5ErkJggg=='); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"Screenshot of the Applications screen with the Add New Application menu expanded.\"\n        title=\"Screenshot of the Applications screen with the Add New Application menu expanded.\"\n        src=\"/static/75aefac22d0e570d4884a1a91f9fc19a/5a190/applications-screen.png\"\n        srcset=\"/static/75aefac22d0e570d4884a1a91f9fc19a/d4770/applications-screen.png 228w,\n/static/75aefac22d0e570d4884a1a91f9fc19a/379c3/applications-screen.png 455w,\n/static/75aefac22d0e570d4884a1a91f9fc19a/5a190/applications-screen.png 800w\"\n        sizes=\"(max-width: 800px) 100vw, 800px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span></p>\n<p>When creating your OAuth client, use the following configurations:</p>\n<ul>\n<li>\n<strong>Authentication method:</strong>\n Client secret post\n</li>\n<li>\n<strong>Scopes to select:</strong>\n<ul>\n<li>\naudit.log:read (for the Audit Log API)\n</li>\n<li>\nplatform-adoption.tracking-events:read (for the Studio Adoption API)\n</li>\n<li>\nteam.login-history:read (for the Login History API) \n</li>\n</ul>\n</li>\n</ul>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 521px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 115.35087719298247%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAXCAYAAAALHW+jAAAACXBIWXMAAAsTAAALEwEAmpwYAAACnUlEQVQ4y6VVyXLTQBDVx3LhJzjwH3wCB258ARdIBUilTHJwFhPFkmyto3159GtrbCnIRaqYqq7pac308nqRc726Hb5f3UBouPy5wuZpC2MM4jhBNFKSpIgT2VMj5wJZVqAolskJdiG8IBp2YQJ/FyFKMqRZro+LvEJf96LMIIxTpKaBXEFe4Oxyqqoazn10kz0+r74dz1VtuQHDsEwO3eTq+5OwHw42HgIPny6+KJ+kGe42IbZ+rHeX1kyhFcyUju/IN00rHtaoxM2p8SlpyMZkKMtSE9E0jVzu0XU92rZTatpWd8os2W9TqutWjTnXvx4QRolkzsAI2kVZo5QPXTdX8i9S4xKFc3l1h32YqrIwSpViybQN4Rz4S+FqyG1Tq4AWXgJMrAjBnJZkJ7mTi2ethJeZfMz26cLU8muWKnS3PtYPrhSzwS6MVWhXXTdiqECel0pGeCM7O+XIy27vqMJQlLA7+LjUkug1IRZkZq6Sb1XVTPh6pDnPdxJyro+ZCO1V2bVMxtBfm5QD5j3rMFeGHtJ6UVQzTI6lceTpfave6z7yFnvHffaxur2HH3BIhOrpXgYFw8hkSGy9PYIggueHSr7wZgFPRqWtx4LmdKGyvRS4xYiWLZbzjunOhssIHLYcGT7gh1OHdIstdqL2L5kq5HBgHdLL/1nHpGy9AI+/PRma5SHTQhym9ZggbUU5h9KexDaKM8GsRJrmih9xZh0eFd4/PuHix40+9MbE8CFXKPv6zoXrBpoQTdAuFqNGFXJPZI9io0OF3eXwf5GLJ9VYNixQekc8eGYH8KygT0bbAetO5JwBlsRDzkKLwQkQzKbIUlbbjgkckOUDLq4HfL0asN5MJva5QfBSbo9ldfjHrDfA2/fAm3fAh4/AH5G+Ai5QYFQ7AAAAAElFTkSuQmCC'); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"Screenshot showing Step 2 of the New OAuth Client screen.\"\n        title=\"Screenshot showing Step 2 of the New OAuth Client screen.\"\n        src=\"/static/df67a9662fa1900ad1fb5ca71119c894/bb9c5/new-oauth-client.png\"\n        srcset=\"/static/df67a9662fa1900ad1fb5ca71119c894/d4770/new-oauth-client.png 228w,\n/static/df67a9662fa1900ad1fb5ca71119c894/379c3/new-oauth-client.png 455w,\n/static/df67a9662fa1900ad1fb5ca71119c894/bb9c5/new-oauth-client.png 521w\"\n        sizes=\"(max-width: 521px) 100vw, 521px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span></p>\n<ol start=\"3\">\n<li>\nClick \n<strong>Create</strong>\n and then copy the \n<strong>client ID</strong>\n and \n<strong>client secret</strong>\n for later use.\n</li>\n<li>\nClick \n<strong>Permissions</strong>\n and then edit the \n<strong>Team</strong>\n permissions.\n</li>\n</ol>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 500px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 41.66666666666667%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAICAYAAAD5nd/tAAAACXBIWXMAAAsTAAALEwEAmpwYAAABA0lEQVQoz42Q2W6DMBBF+f8f60uXF0jbqCEJUEobFu9gwNwOVqkSBaUd6cqWfXTG46AoCrRtC9t1MFpDCEGRtyMpjEGmCXSWQB73sFWJh8cnBLPsmH3i7j5Elp/w7xIMQ7xDmeWod3vgPcHmdYtg7qhNizT/gtLGs9M0XYVOL4Wdwfi2hYhjsE1EwhTh8wsCzoW/16YD4wpMqB8BzmTAODrUjUBZc8/NK+cScI5A55kwjBAoqSCVobELNAQwyppwZg7pBxomPHOqGGraO7p37lyoFLjQvvtS1+PSl0mNquGr33khXEZeRH/VGrOchREJGeMYhhHW9uj74WZsv8501v6+8BvABGwgHAQKFgAAAABJRU5ErkJggg=='); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"Screenshot showing the Team tile with the Edit link highlighted.\"\n        title=\"Screenshot showing the Team tile with the Edit link highlighted.\"\n        src=\"/static/3539250c3b53538c0623de556086d6cd/0b533/edit-team-permissions.png\"\n        srcset=\"/static/3539250c3b53538c0623de556086d6cd/d4770/edit-team-permissions.png 228w,\n/static/3539250c3b53538c0623de556086d6cd/379c3/edit-team-permissions.png 455w,\n/static/3539250c3b53538c0623de556086d6cd/0b533/edit-team-permissions.png 500w\"\n        sizes=\"(max-width: 500px) 100vw, 500px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span></p>\n<ol start=\"5\">\n<li>\nAssign Audit Log API, Login History API, and Studio Adoption APIs permissions to your newly created application as required.\n</li>\n</ol>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 910px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 14.912280701754385%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAADCAYAAACTWi8uAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAnElEQVQI102O3Q6DIAyFff/H28Vuli0zoCgOp6CAoD0Dlv00ac7p19OkFeOC2m5A00rqpcI8GzDe5Rm87SGHEdOswZofyz2lXM7XTKARsuxztgohYtt2CuEACDiS5HI+FE9/zPuIGKn4z27fCcsavqwyeqWa9RCdIms3GOPgkl6uHGrUsNa/mQu43UX66omcWxZX9KE0TmdWbkxiL3yC5arBByJ/AAAAAElFTkSuQmCC'); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"Screenshot showing an example of the selected permissions.\"\n        title=\"Screenshot showing an example of the selected permissions.\"\n        src=\"/static/67658e403e1d6ab49163e7221e7c9bf3/c6bbc/api-permissions.png\"\n        srcset=\"/static/67658e403e1d6ab49163e7221e7c9bf3/d4770/api-permissions.png 228w,\n/static/67658e403e1d6ab49163e7221e7c9bf3/379c3/api-permissions.png 455w,\n/static/67658e403e1d6ab49163e7221e7c9bf3/c6bbc/api-permissions.png 910w,\n/static/67658e403e1d6ab49163e7221e7c9bf3/2e694/api-permissions.png 1048w\"\n        sizes=\"(max-width: 910px) 100vw, 910px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span></p>\n<ol start=\"6\">\n<li>\nClick \n<strong>Save</strong>\n.\n</li>\n<li>\nThe OAuth client now has the relevant API permissions, but you also need to request an OAuth access token.\n<p><strong>Tip</strong></p>\n<p>Alternatively, you can create an application key and assign the following permissions: Audit Log API, Login History API, and Studio Adoption APIs.</p>\n<p>For more information, see: <a href=\"https://docs.celonis.com/en/application-keys.html\">Creating and granting permissions to application keys</a>.</p>\n</li>\n</ol>\n<h2 style=\"position:relative;\"><a href=\"#test-oauth-credentials\" aria-label=\"test oauth credentials permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"test-oauth-credentials\"></div>Test OAuth credentials</h2>\n<p>The created OAuth credentials can be best tested in Postman or via the command line tool curl (it is installed on most workstations or can be found in the machine learning workbench in Celonis).</p>\n<p>Follow the steps outlined <a href=\"https://docs.celonis.com/en/registering-oauth-client.html#UUID-0a0e0984-8a17-1d4e-175c-aa47448f9e66_UUID-3c4c385a-5026-4307-2787-fafcdb228353\">here</a> while using the required scope:</p>\n<div class=\"code-wrapper\">\n        <div class=\"gatsby-code-button-container\"\n             data-toaster-id=\"27723345957410970000\"\n             data-toaster-duration=\"1500\"\n             onClick=\"copyCodeToClipboard(`{\n    &quot;access-token&quot;: &quot;randomizedAccessToken&quot;,\n    &quot;scope&quot;: &quot;scope1 scope2 scopeN&quot;,\n    &quot;token_type&quot;: &quot;Bearer&quot;,\n    &quot;expires_in&quot;: 899\n}`, `27723345957410970000`)\"\n        >\n          <div class=\"gatsby-code-button\" title=\"Copy the code snippet\">Copy</div>\n          <div class=\"done-indicator done-indicator-27723345957410970000\">Copied</div>\n        </div>\n        <div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">{\n    \"access-token\": \"randomizedAccessToken\",\n    \"scope\": \"scope1 scope2 scopeN\",\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 899\n}</code></pre></div>\n      </div>\n<h2 style=\"position:relative;\"><a href=\"#migrating-to-oauth-20\" aria-label=\"migrating to oauth 20 permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"migrating-to-oauth-20\"></div>Migrating to OAuth 2.0</h2>\n<p><strong>If you already have an application or an extractor built that is calling one or all of these APIs and you want to migrate this application to take advantage of OAuth 2.0, see <a href=\"/celonis-apis/migrating-to-oauth/\">Migrating to OAuth 2.0</a>.</strong></p>","headings":[{"value":"Connecting audit log, login history, and Studio adoption APIs to Celonis Platform","depth":1},{"value":"Creating an application and granting it API permissions","depth":2},{"value":"Test OAuth credentials","depth":2},{"value":"Migrating to OAuth 2.0","depth":2}]},"contentItem":{"data":{"lastModified":"2025-05-22T17:57:31.000Z","enableToc":null,"disableLastModified":null,"tocMaxDepth":null,"requestLogin":false}},"siteConfig":{"enableToc":false,"disableLastModified":false,"tocMaxDepth":4}},"pageContext":{"matchPath":"","id":"fb16f608-8287-5528-8df8-ea366306bea3__redocly content/celonis-apis/connecting-to-celonis-platform/","seo":{"title":"Connecting audit log, login history, and Studio adoption APIs to Celonis Platform","description":null,"image":"","keywords":null,"jsonLd":null,"lang":null,"siteUrl":null},"pageId":"celonis-apis/connecting-to-celonis-platform.md","pageBaseUrl":"/celonis-apis/connecting-to-celonis-platform","type":"markdown","toc":{"enable":true,"maxDepth":4,"headings":[{"depth":1,"value":"Connecting audit log, login history, and Studio adoption APIs to Celonis Platform","id":"connecting-audit-log-login-history-and-studio-adoption-apis-to-celonis-platform"},{"depth":2,"value":"Creating an application and granting it API permissions","id":"creating-an-application-and-granting-it-api-permissions"},{"depth":2,"value":"Test OAuth credentials","id":"test-oauth-credentials"},{"depth":2,"value":"Migrating to OAuth 2.0","id":"migrating-to-oauth-20"}]},"data":{"title":""},"catalogInfo":null,"link":"/celonis-apis/connecting-to-celonis-platform/","sidebarName":"celonis","isLanding":false,"showPrevButton":null,"showNextButton":null,"apiVersions":null,"apiVersionId":null,"isDefaultApiVersion":null}},"staticQueryHashes":["1123603147","1302185487","1344209882","1398840060","1520077861","1975142765","2667623876","2950305614","3240152602","3743992808","561138138"]}