Build your first model-driven app

In this tutorial, you create a model-driven app by using one of the standard tables that is available in Microsoft Dataverse, the account table.

Model-driven app with account table in app designer

  1. Sign in to Power Apps. If you don't already have a Power Apps account, select the Get started free link.

  2. Select an environment. An environment in Power Apps is a space to store, manage, and share your organization’s business data, apps, chatbots, and flows. It also serves as a container to separate apps that might have different roles, security requirements, or target audiences.

    Each environment can have one Dataverse database.

    Select the environment you want. If your tenant allows you to create your own environment, select the current environment from the top right, and then select Try it now. More information: Get your developer environment (preview)

  3. We recommend creating your model-driven app from a solution. A solution is a package that can contain Dataverse tables, forms, views, apps, flows, and other components. By building your model driven-app in a solution, you can easily move it to other environments or preserve a copy in your source control repository.

    Select Solutions on the left navigation pane. If the item isn’t in the side panel pane, select …More and then select the item you want.

  4. Select New solution, enter a Display name for your solution, such as Power Apps Training, select a publisher (the CDS Default Publisher is okay for this tutorial), and then select Create. For more information about creating a solution, go to Create a solution.

  5. In your solution, select Add existing, and then select Table.

  6. In the Add existing tables list, select the Account table, and then select Next.

  7. Since this is a standard table, leave the default setting for account table objects and metadata and select Add.

    Now that you have a solution and have added the account table to it, you're ready to create a model-driven app.

  8. In your solution, select New, select App, and then select Model-driven app.

  9. Enter a name for the app, such as My new custom app, and then select Create.

    Your app loads in the model-driven app designer.

Add a page to your app

Next, you add a new page to the model-driven app in the app designer.

  1. Select Add page on the command bar, and then select Dataverse table.

    Add a page to a model-driven app.

  2. Select Account, and then select Add.

    Select a table-based view and form.

Your app with the account table is displayed similarly to how it appears to users at run time when published. If your environment has sample data, the sample list of active accounts might appear in the My Active Accounts view.

After adding a table to a new app, the app appears with the default view selected

Save and publish your app

Save your app so that your app and changes aren't lost. To make it available to users, publish it.

To save without publishing, on the app designer command bar, select Save.

To save and publish, on the app designer command bar, select Publish.

Create an app description with Copilot (preview)

[This section is prerelease documentation and is subject to change.]

If your app is in a managed environment, you can use AI to help you create a description for your app.

Important

  • To use this capability your app must be in a managed environment.
  • Preview features aren’t meant for production use and may have restricted functionality. These features are available before an official release so that customers can get early access and provide feedback.
  • For more information, go to our preview terms.
  • This capability is powered by Azure OpenAI Service.
  • This capability is in process of rolling out, and may not be available in your region yet.
  • This capability may be subject to usage limits or capacity throttling.
  • To understand capabilities and limitations of AI-powered and Copilot features in Power Apps, see Responsible AI FAQs for Power Apps

When you save and publish your app, on the Publish dialog box select, Create descriptions using AI to replace your current description or, if your app doesn't have a description, Copilot generates one for you.

You can also generate an app description by going to, Settings > General. Under Description select, Create descriptions using AI.

For information that describes the AI impact of Power Apps generate app descriptions with Copilot feature, go to FAQ for generate app descriptions with Copilot.

Run your app on a desktop computer

  1. To run your app, sign in to Power Apps, and on the left navigation pane, select Apps.

    Select Apps.

  2. Select the app from the app list. The app opens in your browser. If you want to show the chart, use the button Show Chart.

Run your app on mobile

To run your app on your mobile device, follow these steps:

  1. Download the app from your device's mobile app store:

  2. Open the app, tap Sign in, and then enter your Microsoft work or school account.

  3. Select your app from the list to run it.

Next steps

Add additional pages and configurations to make your app do more!

Tip

Ready to convert your ideas into an app? Start here: Planning a Power Apps project.