UnifyApps Headless
Logo
Set up your folder

Set up your folder

Logo

4 mins READ

Setup links a folder on your computer to one solution on your tenant. You do it once per folder. After that, you just open the folder and ask for work.

Before you start

UnifyApps Headless installed in your coding agent. See Install.

  • The address of your UnifyApps tenant, such as your-company.unifyapps.com.

The tools turned on for your tenant, and the AGENT_LLM_TOOLS permission on your role. See What you need.

Why each solution gets a folder

A solution is your project on the tenant. The folder is its home on your computer.

The folder holds everything about that solution. It knows which tenant and solution it is for. It keeps the plans and the notes. It keeps cached copies of the apps, objects and automations. It also keeps the history of what was built. UnifyApps Headless writes these files for you.

Because of this, one folder works on one solution only. Do not work on two solutions in the same folder. Do not move files between solution folders.

Tip: Keep one main folder, such as UnifyApps. Put one folder inside it for each solution: Purchase Orders, Leave Manager, Customer Portal.

Set up a new folder

Step 1: Make an empty folder

Make a new, empty folder for the solution. For example, call it Purchase Orders. Put it wherever you keep your work.

Do not use a code project. Setup refuses a folder that is a git repository. It also refuses one that already has files in docs/, plans/ or specs/.

Before you begin, be sure you know which folder you are in.

Step 2: Open your agent in that folder

Open your coding agent and choose that folder as the one to work in. In the desktop apps, pick the folder when you start a new chat or project.

Everything from here on happens in a chat in that folder.

Step 3: Start setup

Type this in the chat:

/ua:setup

The words differ a little per agent:

Agent

What to type

Claude Code, OpenCode, Gemini CLI

/ua:setup

Codex

$ua:setup

Antigravity, GitHub Copilot CLI

Ask in words: "set up UnifyApps Headless here"

Note: You can also skip this step. Just ask for UnifyApps work in an empty folder. UnifyApps Headless sees the folder is not set up, and sets it up first.

Step 4: Answer the questions

Setup asks a few questions and does the rest.

  1. Your tenant. This is the UnifyApps address you work on, such as your-company.unifyapps.com.

  2. Sign in. Your browser opens the tenant's sign-in page. Sign in there. Setup then carries on by itself. If no browser tab opens, the agent shows you a link. Paste that link into your browser. Use a browser on the same computer your agent runs on, and sign in soon: setup waits only a few minutes. Some tenants open a separate Chrome window instead. It is not your own Chrome, so sign in there too.

  3. Your solution. Pick a solution that already exists, or create a new one.

When setup is done

The folder is now linked to that solution. If you asked for some work along with setup, it goes straight on with that work. You do not need to ask again.

You only do this once per folder.

Coming back later

Open the same folder again. Everything from last time is still there.

If you are signed out, run /ua:setup again. It signs you back in. In a folder that is already set up, setup checks what it needs and fixes only what is broken.

To sign out, ask in chat: "sign me out". The browser you signed in with is signed out too.

Working on another solution

Another solution means another folder. Make a new, empty folder and set it up the same way.

Did you ask about something on another tenant? Then UnifyApps Headless offers to start a new chat in a folder for it.

Warning: Never set up two solutions in one folder. Each folder must hold one solution, so its plans and notes stay correct.

Next steps