# Deepnote Notebook Execution Trigger

[Deepnote](https://deepnote.com/) is a collaborative data science notebook. This component enables you to trigger the running of a specified notebook in Deepnote. 
The application only triggers the execution, but does not have the capability of monitoring the execution.

## Creating an API key

**Goal:** get the Deepnote API key that the trigger signs in with.

The API is only available to Team and Enterprise plans of Deepnote. 
If you have one of these plans, then generate the API key by following the steps described in the [Deepnote API documentation](https://deepnote.com/docs/deepnote-api).

**Result:** you have an API key to enter in the configuration.

## Finding your Notebook and Project IDs

**Goal:** find the IDs of the notebook to run and of the project it is in.

The Notebook and Project ID can be obtained via the URL path to the notebook, described in the [endpoint documentation](https://deepnote.com/docs/deepnote-api#execute-notebook). 
The project ID is a UUID with dashes (e.g. 25fcb3b2-cf3d-4c08-9b24-4306f1518caa) and the notebook ID is a UUID without dashes (e.g. abaf726ac4c34589961a588de29cd665).

**Result:** you have both IDs to enter in the configuration.

## Create New Configuration

**Goal:** run the notebook in Deepnote from Keboola.

[Create a new configuration](https://help.keboola.com/components/configurations/#create-a-configuration) of the **Deepnote Notebook Execution Trigger** Application.
Fill in your Deepnote **API key**, the **Notebook ID** of the notebook you wish to execute and the **Project ID** of 
the project the notebook is in. Once filled in click **Save** to save the configuration and click **Run Component** to execute the trigger.

![Deepnote Notebook Execution Trigger](https://help.keboola.com/components/applications/triggers/deepnote-notebook-execution-trigger/deepnote_config.png)

**Result:** running the configuration starts the notebook in Deepnote. The application does not monitor the run.
