---
keyword: [Extend, Third Party Technology, AWS]
nav: wcp_docs
parent_url: /wcp_docs/
title: Install the AWS Toolkit for Visual Studio Code (VS Code)
layout: subsection
---

### Prerequisites

<a id="prereq_1"></a>
-   [Obtain Short-Term Credential for AWS Command Line Interface](/wcp_docs/GUID-306fac40-0f62-4016-9720-1e01021cd939-enHYPHENus.html).

    <b>Note:</b> The short-term credential expires after one hour, You may need to obtain a new credential while you are developing in the IDE.

-   [Install the AWS SAM CLI](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-sam-cli.html).


### Steps

1.  Download and install the latest version of VS Code.
2.  Navigate to the Extensions Marketplace in the IDE.

    You can also access the Visual Studio Marketplace from your browser at [https://marketplace.visualstudio.com/](https://marketplace.visualstudio.com/).

3.  Search for AWS Toolkit. On the first result, click <b>Install</b>.

    For additional information, please refer to [Extension Marketplace](https://code.visualstudio.com/docs/editor/extension-marketplace).

4.  Enter your AWS credentials.
    1.  Navigate to your Workspace in VS Code.
    2.  Click the new <b>AWS</b> logo in the left pane in VS Code.
    3.  Scroll to find the <b>AWS Explorer</b> widget.
    4.  Click <b>> Or, provide IAM Roles Credentials</b> to expand the section.
    5.  Click <b>Edit file directly</b>. This will open the credentials file stored locally.
    6.  Paste the short-term credentials obtained from the Workday Developer Site, and then save the credentials file.

5.  Connect to the AWS account.

    1.  In the left pane, under <b>EXPLORER</b>, click <b>…</b> or the <b>More Actions</b> menu, and choose <b>Connect to AWS</b>.
    2.  In the <b>Connection</b> window, select the default profile, <b>profile:default</b>.

        You are now authenticated. A set of AWS services should appear in the Explorer window.


    <b>Note:</b> If you don’t see AWS services, refresh the Explorer by clicking the refresh icon and connecting to the AWS account again.

    For additional information, please refer to [AWS Toolkit for Visual Studio Code](https://docs.aws.amazon.com/toolkit-for-vscode/latest/userguide/welcome.html).



### Next Steps

You can use the AWS Toolkit for Visual Studio Code to invoke an AWS Lambda function.

1.  In <b>AWS: Explorer</b>, select the AWS Lambda function that you want to invoke, and open its context menu.
2.  Click <b>Invoke on AWS</b>.
3.  In the <b>Invoke</b> window that opens for your function, enter the input that your Lambda function needs. Example: The Lambda function might require a string as input.
4.  Click <b>Invoke</b>.


You’ll see the output of the Lambda function as you would with any VS Code project.

