Skip to content

Commit d356957

Browse files
authored
Updated key instruction
1 parent 9135966 commit d356957

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Search/BingEntitySearch/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ To get these samples running locally, simply get the pre-requisites above, then:
3131

3232
1. git clone https://github.com/Azure-Samples/cognitive-services-java-sdk-samples.git
3333
2. cd cognitive-services-java-sdk-samples/Search/BingEntitySearch
34-
3. Either set a system environment variable named `AZURE_BING_SAMPLES_API_KEY` to your cognitive Services API key, or copy your key into the program. If you are going to set the AZURE_BING_SAMPLES_API_KEY environment variable, make sure to set it based on your OS, then reopen your command prompt or IDE. If not, you might get an API key not found exception.
34+
3. Set a system environment variable named `BING_ENTITY_SEARCH_SUBSCRIPTION_KEY` and add your subscription key value. Reopen your command prompt or IDE. If not, you might get an API key not found exception.
3535
4. mvn compile exec:java
3636

3737
## More information ##
@@ -44,4 +44,4 @@ If you don't have a Microsoft Azure subscription you can get a FREE trial accoun
4444

4545
---
4646

47-
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments.
47+
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments.

0 commit comments

Comments
 (0)