> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superblocks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Low-Code to Clark transition

> Transition from the Superblocks Low-Code platform to building with Clark AI

If you've been using the Superblocks Low-Code platform, you can now start building with Clark — The Superblocks AI coding agent for building internal enterprise apps on your company data.

## Getting started with Clark AI

**1. Switch to Clark AI view**

In the **top right corner of the Superblocks header**, click the product switcher and select **Clark AI** to switch from the Low-Code view.

![Low-Code to Clark AI switcher](https://mintcdn.com/superblocks/KHjvHFpLh3BONvUl/images/getting-started/low-code-clark-switch.png?fit=max\&auto=format\&n=KHjvHFpLh3BONvUl\&q=85\&s=3e4316bbe1c37f94fabe7d13d86e151a)

**2. Create your first application**

Click **Create New** to start a new React application. Describe what you want to build in natural language and Clark will generate your app, complete with UI components and data integrations.

![Create new application](https://mintcdn.com/superblocks/KHjvHFpLh3BONvUl/images/getting-started/clark-create-new.png?fit=max\&auto=format\&n=KHjvHFpLh3BONvUl\&q=85\&s=6f2c6e9f2d562187c2fedfbc820a523d)

**3. Start building**

From here, you can tag integrations, add context, and iterate on your application using Plan and Build modes. See the full guide at [Building with Clark AI](https://docs.superblocks.com/building-with-clark/index.md).

![Clark AI prompt homepage](https://mintcdn.com/superblocks/KHjvHFpLh3BONvUl/images/getting-started/clark-prompt-home.png?fit=max\&auto=format\&n=KHjvHFpLh3BONvUl\&q=85\&s=264a7e84a10f9e2f7721eb03d840accc)

## Using your existing integrations with Clark

To start using Clark on your existing integrations, you'll need to opt them in. Because Clark [accesses data in edit mode](https://docs.superblocks.com/building-with-clark/data-access.md) to build and debug your apps, you'll want to review which integrations are enabled to ensure they're set up appropriately.

**1. Navigate to Integrations**

From the Clark AI view, go to the **Integrations** page and click **Enable Integrations**.

![Integrations page](https://mintcdn.com/superblocks/KHjvHFpLh3BONvUl/images/getting-started/clark-integrations-empty.png?fit=max\&auto=format\&n=KHjvHFpLh3BONvUl\&q=85\&s=2b5604f08b401a980a0628888c78123a)

**2. Select integrations to enable**

Review your available integrations and select the ones you'd like Clark to use. Click **Enable** to confirm.

![Enable integrations modal](https://mintcdn.com/superblocks/KHjvHFpLh3BONvUl/images/getting-started/clark-integrations-enable.png?fit=max\&auto=format\&n=KHjvHFpLh3BONvUl\&q=85\&s=9e87b4a5482077df905e0efbb93ee461)

**3. Start building with your data**

Once enabled, your integrations are ready to use. Click **Create your first app** to start building, or tag these integrations directly from the Clark prompt.

![Integrations ready](https://mintcdn.com/superblocks/KHjvHFpLh3BONvUl/images/getting-started/clark-integrations-ready.png?fit=max\&auto=format\&n=KHjvHFpLh3BONvUl\&q=85\&s=114c8d2a4aaf3fbe36edb50dbd06f07d)

**4. Enable more integrations later**

You can always opt in more Low-Code integrations using the **Enable integrations for Clark** button on the Integrations page.

![Enable integrations for Clark button](https://mintcdn.com/superblocks/KHjvHFpLh3BONvUl/images/getting-started/clark-enable-integrations-button.png?fit=max\&auto=format\&n=KHjvHFpLh3BONvUl\&q=85\&s=85fb5f7a827d290b5004aa96089d4866)

Any new integrations you add from the Clark view will be available for both Clark and Low-Code.

## Migrating existing Low-Code apps

Once you try Clark, you'll find that building apps is significantly faster, more powerful, and more flexible. To migrate an app, download its definition with the Superblocks CLI, then give it to Clark to rebuild in React.

You can also use steps 1-4 to export your apps and rebuild them outside Superblocks. You'll need to replace anything the Superblocks platform provided, such as integrations, authentication, and access control.

**1. Install the Superblocks CLI**

Install or upgrade the CLI:

```bash theme={null}
npm install -g @superblocksteam/cli@1.14.2
```

The CLI connects to Cloud US (`app.superblocks.com`) by default. If your organization uses Cloud EU or a Cloud-Prem instance, point the CLI at your instance first, replacing `{tenant}` with the value from [Instance URLs](https://docs.superblocks.com/enterprise/instance-urls.md):

```bash theme={null}
superblocks config set domain {tenant}.superblocks.com
```

**2. Log in**

```bash theme={null}
superblocks login
```

When prompted, paste your API token from the **Personal settings** page in Superblocks.

**3. Download your Low-Code app**

In an empty folder, run:

```bash theme={null}
superblocks init
```

Press **Space** to select each app you want to download, then press **Enter**. The CLI downloads each app's definition as YAML files:

| File | Contains |
| - | - |
| `application.yaml` and `.superblocks/superblocks.json` | Routes, navigation, global state, and APIs |
| `pages/<PAGE_NAME>/page.yaml` | Each page's layout and UI components |
| `pages/<PAGE_NAME>/apis/<API_NAME>/api.yaml` | Each backend API |

**4. Zip the app**

Compress the app's folder into a zip file, making sure the hidden `.superblocks` folder is included. For example:

```bash theme={null}
zip -r my-app.zip <APP_FOLDER>
```

**5. Rebuild the app with Clark**

In the Clark AI view, start a new app. [Attach the zip file](https://docs.superblocks.com/building-with-clark/adding-context.md#uploading-files) and send this prompt:

```text theme={null}
I need you to help me rebuild the attached legacy Superblocks app (YAML based) on this
new system. Here is a breakdown of the files:

- application.yaml and .superblocks/superblocks.json: contain information about routes,
  navigation, global state, and APIs
- pages/<PAGE_NAME>/page.yaml: each page's layout and UI definition (the core components)
- pages/<PAGE_NAME>/apis/<API_NAME>/api.yaml: all the backend APIs

Can you read these to understand the application structure and recreate it with
equivalent components and business logic in React?

Note: for any integrations used in the backend APIs, you can use the same integration
IDs that are used in the existing YAML API definitions.
```

Make sure the integrations your app uses are [enabled for Clark](#using-your-existing-integrations-with-clark) first, so Clark can connect to them.

**6. Iterate**

Clark's first version should get you most of the way there. Depending on how complex the app is, keep iterating with Clark to close any gaps. Screenshots of your original app are useful context for matching its layout and behavior.

If you get stuck migrating a complex app, [reach out to us](mailto:support@superblockshq.com).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.