From 07eb16591422de6a37365c9ea515702dfa19cd19 Mon Sep 17 00:00:00 2001 From: "paolo@pialorsi.com" Date: Fri, 9 Nov 2018 19:09:18 +0100 Subject: [PATCH] Updated docs to support the AlphaVantage key --- documentation/tenant-settings.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/tenant-settings.md b/documentation/tenant-settings.md index 757be7e7..2a0ec2de 100644 --- a/documentation/tenant-settings.md +++ b/documentation/tenant-settings.md @@ -39,8 +39,8 @@ Leave all the other properties with their default values. The StockInformation Web Part uses the live stocks service provided by [Alpha Advantage](https://www.alphavantage.co/). However, to use it you need a software key, that you can ask for free to the API provider. You will simply need to go to the page to [Claim your API Key](https://www.alphavantage.co/support/#api-key), fill in the form, and store the generated key in a safe place. -The key can be provided to the [deploy.ps1](../provisioning/deploy.ps1) PowerShell script through the *StockAPIKey* paramenter. +The key should be configured at tenant level, by creating a storage entity using the following PowerShell script: ```powershell -.\deploy.ps1 -TenantUrl https://[yourtenant].sharepoint.com -StockSymbol "GT" -StockAPIKey "your-api-key" +Set-PnPStorageEntity -Key "PnP-Portal-AlphaVantage-API-Key" -Value "your-api-key" -Comment "API Key for Alpha Advantage REST Stock service" -Description "API Key for Alpha Advantage REST Stock service" ```