---
schema_version: "1"
id: f7015a42199682cb756894eb5d56cd4d602eac54d12ea0d2c368eb0f46c3e714
title: Create and Update a Template with Visual Studio Code
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/analytics/bi_dev_guide_wave_templates/guides/task/bi-templatesdev-create-object-vscode.md
canonical_url: https://developer.salesforce.com/docs/analytics/bi-dev-guide-wave-templates/guide/bi-templatesdev-create-object-vscode.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 883367e9eacc2d9b76d4eda9f95b58691bb62c3c163b5326e8c9b8a6bc240251
products:
  - Analytics Templates Developer Guide
  - analytics
---

# Create and Update a Template with Visual Studio Code

Use Microsoft Visual Studio (VS) code to create and update a template.

1.  Create the template. In the Command Palette, enter **Create Analytics Template**.

    Select the Analytics app from the dropdown list.

    The command returns something like the following: `Successfully created Analytics template [0Nk0S0000008OJNSA2]`

    The `WaveTemplate` object and all its files are on your scratch org. Next, retrieve the object by pulling the files to your local workstation for editing.
