SPDX-License-Identifier: CC-BY-SA-3.0
Imported from https://github.com/arvados/arvados-vscode-cwl-training
-git hash: e21c963c05fb35bd8be15e24f72045e9c1cec668
+git hash: f39d44c1bdb2f82ec8f22ade874ca70544531289
{% endcomment %}
1. Vscode: On the left sidebar, choose `Explorer` ![](images/Explorer.png)
1. Select `Clone Repository` and enter [https://github.com/arvados/arvados-vscode-cwl-training](https://github.com/arvados/arvados-vscode-cwl-training), then click `Open`
1. If asked `Would you like to open the cloned repository?` choose `Open`
-1. Vscode: Click on the `Terminal` menu
- 1. Vscode: Click `Run Task…`
- 1. Vscode: Select `Configure Arvados`
- 1. Go to Arvados Workbench
+1. Go to Arvados Workbench
1. Workbench: In the user menu, select `Current token`
- 1. Workbench: Copy the text following `ARVADOS_API_HOST=` to the end of the line
- 1. Vscode: Paste the string at the `Value for ARVADOS_API_HOST` prompt
- 1. Workbench: Copy the text following `ARVADOS_API_TOKEN=` to the end of the line
- 1. Vscode: Paste the string at the `Value for ARVADOS_API_TOKEN` prompt
- 1. This will create files called `API_HOST` and `API_TOKEN`
+ 1. Workbench: Click on `Copy to Clipboard`.
+ 1. Workbench: You should see a notification `Token copied to clipboard`.
+ 1. Go to Vscode
+ 1. Vscode: Click on the `Terminal` menu
+ 1. Vscode: Click `Run Task…`
+ 1. Vscode: Select `Set Arvados Host`
+ 1. Vscode: Paste the value of API Host from the Workbench `Get API Token` dialog (found in the User menu) at the prompt
+ 1. Vscode: Next, run task `Set Arvados Token`
+ 1. Vscode: Paste the value of API Token from the Workbench `Get API Token` dialog
+ 1. Vscode: These will create files called `API_HOST` and `API_TOKEN`
## 3. Register & run a workflow