Workflow for Tableau Next Scratch Orgs

Get started with Tableau Next development using your Dev Hub to create scratch orgs with Data 360 and Tableau Next enabled. Use your scratch org to create and publish Tableau Next assets, such as dashboard extensions.

Tableau Next requires Dev Hub to be enabled in Developer, Enterprise, Performance, or Unlimited Editions. Scratch orgs are supported in Developer, Enterprise, Group, and Professional Editions.

Complete these prerequisites before creating or working on a Tableau Next templated app or assets.

  • Create a project. See Create a Salesforce DX Project.

  • Configure the sfdx-project.json file.

    • Specify your package’s namespace with the namespace attribute. For example: "namespace":"exp-mgr".
    • Specify the login URL for production, which is https://login.salesforce.com.

To work with Data 360 and Tableau Next features in a scratch org, you must first set up a scratch definition file and use the Salesforce CLI to create the scratch org.

  • To create a scratch org, from the CLI, use:

    The next example shows a sample scratch definition file. See Create Scratch Orgs. This scratch org is the publisher or source org where you create the Data 360 and Tableau Next elements and add them to a data kit.

    The following is a sample project-scratch-def.json file with Data 360 and Tableau Next licenses.

  • To open the scratch org, run the sf org open command. Navigate to Data Cloud Setup to verify that Data 360 is enabled. If you see green checkmarks, then Data 360 is provisioned.

  • From Salesforce Setup, in the Quick Find box, enter Tableau Next, and then select Tableau Next Setup.
  • Enable Tableau Next.

To work with data kits, see Workflow for Creating Data 360 Data Kits with Tableau Next Assets.

To package your Tableau Next app, see Package Your Tableau Next App.