# Quickstart

Connect a generator built with any tech stack to Atomm in four steps: **create a generator → add the SDK and integrate capabilities → preview and debug locally → submit for review and publish**. No platform CLI is required; a plain HTML project still needs a local static server — see [Local debugging](/docs/devtool).

> **Any stack that outputs static web files works**
>
> Plain HTML, Vite, Vue, React and other stacks all work. Atomm communicates with your app through a browser-side SDK, without restricting your build process.

> **Before you start**
>
> You need an Atomm account. Once signed in, open the console with the "Developer Console" button at the top right; when signed out, the top right shows a sign-in entry instead. Each account has a limit on how many apps it can create, and you need to delete some apps first once you reach it.

## End-to-end flow

**1. Create a generator in the Developer Console**

On the "My Apps" list, click "Create App" and enter a **generator title** (Chinese is allowed; English is recommended). The platform turns the title into the generator's name automatically, and **the name cannot be changed after creation**.

The name becomes part of the app’s runtime URL and is used for local preview and publishing. After creating the generator, continue setup on its app detail page.

**2. Add the SDK to your app and integrate capabilities**

Add one script tag to your page to get the global `atomm` object:

```html
<script src="https://static-res.makextool.com/scripts/js/generator-sdk/platform-sdk.js"></script>
```

Then integrate the platform capabilities. **Export is required** — submissions without an `export` hook are rejected: add a placeholder that the SDK renders as an Export button, then register an `export` hook to supply the result file:

```html
<!-- Place anywhere on the page; the SDK renders it in place as an Export dropdown -->
<div data-atomm-export-button></div>
```

```js
// The platform calls back into your app for the result file when the user clicks export.
// exportCurrentResultAsBlob() is a function your app implements; it returns the generated file.
atomm.lifecycle.on('export', async () => {
  const blob = await exportCurrentResultAsBlob()
  return { filename: 'design.glb', blob }
})
```

See the [atomm object](/docs/atomm) and [export capability](/docs/export) for details.

For image generation, background removal, and depth maps, see [AI integration](/docs/ai-integration/quickstart). Apply for AI access separately from publishing review.

**3. Start your local server, then preview and verify in real time in the browser**

Start your local server (e.g. `http://localhost:5173`). Use the generator name derived from your title in step 1 (it is the heading shown on the app detail page) in the preview URL, and set `?local=` to your local address. Only loopback addresses such as localhost / 127.0.0.1 are supported:

```text
https://www.atomm.com/creativetools/community/generator/<generator-name>?local=http://localhost:5173/
```

DevTool previews your local app on the platform in real time. The integration assistant on the right shows the SDK connection status and available platform capabilities. Use the preview to check that export and other features work correctly.

You can also enter your local address in the "Local debugging" card on the app detail page to open the preview. See [Local debugging](/docs/devtool) for details.

**4. Upload the artifact, submit for review, and publish**

On the app detail page, configure the listing, upload your packaged artifact and submit for review. Reference artifact assets with relative paths (set `base: './'` in Vite); absolute paths fail after upload. All six listing items are required (cover image, physical product cover image, card title, short description, detailed description, and at least one craft), and you must check the Commercial Authorization Statement, or you cannot submit. Your UI copy must cover all 18 languages the platform supports, and the `export` hook must be registered, or the review will reject it. Once approved, the app is published automatically at `https://www.atomm.com/creativetools/community/generator/[generator-name]`. Users can open it directly from the generator gallery without installing anything. See [Submitting for review and publishing](/docs/publish) for details.
