# Setup Actions

### How to Setup Actions:

{% embed url="<https://www.youtube.com/watch?v=JASFjGHsAPM&list=PLRRljmxgMuYzY0bDEvQmt3qCXhQPrUfBC&index=2>" %}

From your CubiLock console:‌

1. Head over to the **Device Profiles** page.
2. Click on the context menu and choose **Update Profile** to open the profile in edit mode.
3. Set the install type of your desired application to **Required For Setup**.
4. Head over to **Kiosk Settings** and choose **Setup Actions** tab.
5. Click on **New Setup Action** button, fill in the necessary details and hit **Add**.
6. Click on **Save** and **Confirm** to apply changes to your profile.

| Enums                  | Description                                                     |
| ---------------------- | --------------------------------------------------------------- |
| `RUN_ON_EVERY_INSTALL` | This will launch actions only once when the app gets installed  |
| `RUN_ON_EVERY_UPDATE`  | This will launch actions every time app will receive new update |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cubilock.com/profile-management/applications/setup-actions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
