---
schema_version: "1"
id: db9707b0398ce87628fb9cc0e87f5999ddc608785591f7155ed20345102f8957
title: Use the Salesforce CLI to Retrieve the Template Files
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-export-using-cli.md
canonical_url: https://developer.salesforce.com/docs/analytics/bi-dev-guide-wave-templates/guide/bi-templatesdev-export-using-cli.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: b300fbffb70892e298a34c4a2e168dfbe71798170ac1d78b4a51d99c5f9fb40f
products:
  - Analytics Templates Developer Guide
  - analytics
---

# Use the Salesforce CLI to Retrieve the Template Files

Pull the template metadata from the scratch org to your local workspace using the Salesforce CLI command `sf project retrieve start`.

The command stores the template files on your system under the folder `force-app\main\default\waveTemplates\MyNewTemplate`

Access them locally on your file system for further development using the IDE of your choice.

**note:** If you created your template in CRM Analytics Studio, use the CLI to log in to your org and then use the `sf project retrieve start --metadata "WaveTemplateBundle:MyTemplate"` CLI command to retrieve your files for editing. For information on setting up and using the CLI for template development, see [Prerequisites](https://developer.salesforce.com/docs/analytics/bi-dev-guide-wave-templates/concept/bi-templatesdev-prerequisites.md).

**See Also**

- [Salesforce CLI Command Reference: project retrieve start](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_project_commands_unified.htm#cli_reference_project_retrieve_start_unified)
