Get the workspace ID
The workspace ID isn’t a secret, so the person can paste it into the chat. If the message that started this setup already includes a workspace ID, as the prompt copied from White label → Settings does, use that one and skip to step 4.- Ask the person to open the workspace their integration builds in, not their personal workspace.
- Ask them to open the workspace menu at the bottom left, click Settings, and copy the address from the browser’s address bar into the chat. The main Apps page address doesn’t include the ID.
- From what they paste, keep only the characters between
/workspace/and the next/. - Check that it’s exactly 24 characters, each a digit or a letter from a to f. If it isn’t, ask again and show them what the address looks like.
Prepare the secret
Set up the token’s place before you ask the person to create it, so they never have to hold it anywhere unsafe.- Local: Create the environment file and confirm it’s listed in
.gitignorebefore the person pastes anything. - Cloud: Name the exact setting and screen in the hosting provider where it goes.
- App builder: Create the secret with the app builder’s secret request feature, or tell the person the exact secret name and where the secrets screen is.
BASE44_WL_TOKEN, even if the project’s example file suggests another name, and make the code read that name. Store the workspace ID as BASE44_WL_WORKSPACE_ID. Fill in every value that isn’t a secret yourself, including Base44’s host, https://app.base44.com.
The personal access token works on every plan, and it’s always sent as Authorization: Bearer <token>. Some plans also include workspace API keys, which work instead of the token for embedding and live updates. If the project already uses a workspace API key for those, keep it. A workspace API key is sent as api_key: <key>, except for live updates, which take Authorization: Bearer <key>.
Create the token
- Before you show any form or link, tell the person in one sentence what the token is for: “This token lets your platform build apps in Base44 for your users. It stays on your server, and your users never see it.”
- Ask them to create a personal access token in the integration’s workspace, with the access and permission that authenticating as the integration account lists. Give them the click path, not only the link.
- Ask them to paste the token into the place you prepared, not into the conversation.
- Put the workspace ID in the same place yourself.
Verify the token
App builder path: Publish the app once after the token is saved, before you run the check. Saved secrets don’t reach the server until the app is published. Guide the person through publishing if you can’t publish yourself. Call List apps from the server with the token and theX-Active-Workspace-Id header, and report only the status code, never the token. On the App builder path, write a small backend function that makes this call and returns only the status code, then run it.
You don’t check the plan or role up front. Later, if a call is refused because of the plan, skip that feature, tell the person what you skipped, and say they don’t need to do anything about it.