title: How do I get a subscription key for Microsoft Cognitive Services APIs?
body: <p>I'm trying to use the Academic Knowledge Graph / APIs, but haven't found a way to get an API key for it. Initially, I thought the subscription key was one of two "keys" I was given at a certain point, but they didn't work. I'm having trouble finding where those keys are exactly now. </p>
  
  <p>However, I did find a link to the docs: <a href="https://dev.labs.cognitive.microsoft.com/docs/services/56332331778daf02acc0a50b/operations/565d9001ca73072048922d97" rel="nofollow noreferrer">https://dev.labs.cognitive.microsoft.com/docs/services/56332331778daf02acc0a50b/operations/565d9001ca73072048922d97</a>. Here it shows a URL to get a key:</p>
  
  <p><a href="https://i.stack.imgur.com/qNqOw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qNqOw.png" alt="Subscription Key, where to get it"></a></p>
  
  <p>That URL is: <a href="https://dev.labs.cognitive.microsoft.com/developer" rel="nofollow noreferrer">https://dev.labs.cognitive.microsoft.com/developer</a>. Which takes me to an OAuth sign-in page. When I try to sign in, an error is produced:</p>
  
  <p><a href="https://i.stack.imgur.com/WJkSn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WJkSn.png" alt="Unable to complete request"></a></p>
  
  <p>Upon close inspection, there is an error message in the URL: </p>
  
  <blockquote>
    <p>error=unauthorized_client&amp;error_description=The+client+does+not+exist.+If+you+are+the+application+developer%2c+configure+a+new+application+through+the+application+management+site+at+<a href="https://apps.dev.microsoft.com" rel="nofollow noreferrer">https://apps.dev.microsoft.com</a></p>
  </blockquote>
  
  <p>This is just the microsoft v2 application registration / management console, where I have visited, where I have an application. Creating a new application does not help. None of the docs, whether specific to Microsoft Knowledge APIs, to Cognitive Services, or more broad ones, seem to help. </p>
  
  <p>There's a few other questions whose titles are pretty much the same as this one, but I think they're all for 2016-2017. Things have changed a lot. You can't create a cognitive service in the Azure portal anymore, as it seems was possible before. There are some Cognitive Services APIs which look approachable here: <a href="https://azure.microsoft.com/en-us/try/cognitive-services/my-apis/" rel="nofollow noreferrer">https://azure.microsoft.com/en-us/try/cognitive-services/my-apis/</a> (found via those old questions). But not the one I'm interested in, the Academic Knowledge APIs. I've looked around a lot. Are these APIs just not in use anymore, or what? </p>
  
  <p>For reference, I tested out my keys using this suggested code snippet: </p>
  
  <pre><code>curl -v -X GET "https://api.labs.cognitive.microsoft.com/academic/v1.0/interpret?query={string}&amp;complete=0&amp;count=10&amp;offset={number}&amp;timeout={number}&amp;model=latest"
  -H "Ocp-Apim-Subscription-Key: {subscription key}"
  
  --data-ascii "{body}" 
  </code></pre>