Skip to content

Commit aacedb5

Browse files
authored
Updated key instruction
1 parent d02e69f commit aacedb5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Search/BingVisualSearch/README.md

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

3030
1. git clone https://github.com/Azure-Samples/cognitive-services-java-sdk-samples.git
3131
2. cd cognitive-services-java-sdk-samples/Search/BingVisualSearch
32-
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.
32+
3. Set a system environment variable named `BING_SEARCH_V7_SUBSCRIPTION_KEY` with your subscription key,
33+
then reopen your command prompt or IDE. If not, you might get an API key not found exception.
3334
4. mvn compile exec:java
3435

3536
## More information ##
@@ -41,4 +42,4 @@ If you don't have a Microsoft Azure subscription you can get a FREE trial accoun
4142

4243
---
4344

44-
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.
45+
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)