# Recipe: coded app and API workflow

> Build and run a coded app backed by an API workflow.

Build a coded app with a form and an API workflow that processes each submission.

## Prerequisites

- [Install and set up](install-and-set-up.md) complete, and you are signed in.
- An empty working folder.
- An `expenses` entity in Data Fabric, and an Integration Service connection to Data Fabric for the API workflow.
- Permission to manage external applications, or an administrator who can create one. The agent creates an OAuth external application for the app's sign-in.

## Submit and store expenses

1. Open your coding agent in the folder.
2. Describe the app and workflow:

   "Create a coded app with a form to submit a new expense, and an API workflow that validates each submission and stores it in my expenses entity."

3. Review the app and the API workflow.
4. Ask the agent to run both.
5. Submit a test expense.
6. Confirm it is in your expenses entity.
7. Refine the form or validation rules.
