# 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.
