Skip to content
LogoLogo

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

  1. In the organization switcher, choose Apps.
  2. 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

  1. In Details, enter a Name, such as Acme CRM. The form fills in the Handle from the name, for example acme-crm. To use a different handle, enter it in the Handle field.
  2. Enter a Description.
  3. For each page that the dashboard shows, choose Add slot in Slots. Then do these steps:
    1. In Where it shows, choose the place for the page. Refer to Slot locations.
    2. In Page URL, enter the https address of the page.
    3. Optionally, enter a Heading and a Height in pixels.
  4. 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.
  5. 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.
  6. 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

  1. Choose Edit as JSON at the top of the page.
  2. 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.

  1. On the page of the app, in Public keys, choose Add key.
  2. In the window Add a public key, choose Generate a key pair.
  3. Choose Copy PICKED_APP_PRIVATE_KEY.
  4. Set the private key as PICKED_APP_PRIVATE_KEY on the server of the app.
  5. 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

  1. In the organization switcher, choose Apps.
  2. Choose the app in the list.
  3. Below New version, choose Edit the manifest.
  4. Change the manifest in Manifest (JSON).
  5. 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.

  1. On the page of the app, choose Delete app.
  2. Read the warning in the window Delete app.
  3. 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.

TaskGraphQLMCP toolRun
Create the appappDeployNoneNone
Add a public keyappPublicKeyAddNoneNone
Deploy a new versionappDeployNoneNone
Delete the appappDeleteNoneNone

The dashboard sends appDeploy with source: DASHBOARD. appDelete needs a user session. An API key cannot delete an app.