How to create an app in the dashboard
This guide shows you how to create an app in the dashboard. The dashboard deploys the manifest for you. Use it for an app that shows pages from a different site in the dashboard, or for an app whose server you deploy yourself.
You must have the scope organization_apps/create in the organization. To change the app
later, you must have organization_apps/update.
The handle names the app in the organization. If an app of the organization has the same handle, Create app deploys a new version of that app.
1. Open the New app page
- In the organization switcher, choose Apps.
- Choose New app at the top of the page.
2. Fill in the manifest
Use one of the two methods that follow. You can change between them at any time. Each method starts with the values of the other.
With the form
- In Details, enter a Name, such as
Acme CRM. The form fills in the Handle from the name, for exampleacme-crm. To use a different handle, enter it in the Handle field. - Enter a Description.
- For each page that the dashboard shows, choose Add slot in Slots. Then do these
steps:
- In Where it shows, choose the place for the page. Refer to Slot locations.
- In Page URL, enter the
httpsaddress of the page. - Optionally, enter a Heading and a Height in pixels.
- If the app has a server, enter its base URL in Base URL in the Server card. Requests Picked sends shows the URLs that Picked sends requests to. Then choose the Events that the server gets. Enter the full MCP server URL if the app has an MCP server. Choose Works on its own if necessary.
- For each workflow tool, choose Add workflow tool in Workflow tools. Enter the Tool name, the Tool label and the Effect. Then add the arguments with Add argument, and the output fields with Add output field.
- In Access, choose the scopes that the app asks for.
To remove a slot, a workflow tool, an argument or an output field, choose Remove on it.
The dashboard shows each page in an iframe. The site of the page must let the dashboard
show it in an iframe. Refer to
frame-ancestors.
With JSON
- Choose Edit as JSON at the top of the page.
- In Manifest (JSON), enter the manifest as JSON.
This manifest makes an app with a page in each project, and asks to read leads:
{
"handle": "acme-crm",
"name": "Acme CRM",
"description": "Shows the Acme CRM record of each lead.",
"scopes": ["organization_leads/read"],
"slots": [
{
"location": "app-home",
"url": "https://crm.acme.example/picked",
"title": "Acme CRM",
"height": 600
}
]
}The fields are the same as the fields of the app section of picked.config.ts. Refer to
App manifest.
To go back to the form, choose Edit in the form.
3. Create the app
Choose Create app. The page of the new app opens. The newest version is Version 1.
If the manifest has errors, the dashboard creates nothing. It shows each error below the
field that has the error, and all errors below The app could not be deployed. If the text
in Manifest (JSON) is not JSON, Create app and Edit in the form are not
available.
4. Add a public key
Do this step only if the server of the app calls Picked. An app with only a page needs no key.
- On the page of the app, in Public keys, choose Add key.
- In the window
Add a public key, chooseGenerate a key pair. - Choose
Copy PICKED_APP_PRIVATE_KEY. - Set the private key as
PICKED_APP_PRIVATE_KEYon the server of the app. - Choose Done.
The dashboard shows the private key one time only. After Done, you cannot see it again. To register a key that you made with
picked app keys generate, refer to
How to rotate an app key.
Deploy a new version
- In the organization switcher, choose Apps.
- Choose the app in the list.
- Below New version, choose Edit the manifest.
- Change the manifest in Manifest (JSON).
- Choose
Deploy version <number>. The number is the number of the next version.
The new version shows at the top of Versions. Each project that has the app shows New version available. A person in the project upgrades the installation. Refer to Upgrade an installation.
If the manifest is the same as the newest version, the dashboard writes no version. It
shows The manifest matches version 2, so nothing was deployed., with the number of
that version.
When you deploy the app with the CLI, the page does not show Edit the manifest. It shows this message:
This app is deployed with the Picked CLI. Change the app section of picked.config.ts and run picked app deploy.
Refer to How to deploy an app.
Delete the app
You must have the scope organization_apps/delete.
- On the page of the app, choose Delete app.
- Read the warning in the window Delete app.
- In the window, choose Delete app.
Picked removes the app from each project that has it. You cannot undo this. The server of
the app does not get an installation.deleted event.
API and MCP
You can also do this task with the Management API, the MCP server, or code that you send to picked_run.
| Task | GraphQL | MCP tool | Run |
|---|---|---|---|
| Create the app | appDeploy | None | None |
| Add a public key | appPublicKeyAdd | None | None |
| Deploy a new version | appDeploy | None | None |
| Delete the app | appDelete | None | None |
The dashboard sends appDeploy with source: DASHBOARD. appDelete needs a user
session. An API key cannot delete an app.
Related
- App manifest — each field, and the validation messages.
- Apps — the apps pages of the dashboard.
- How to install an app — put the app on a project.
- About apps — apps, versions and installations.
