Skip to content

Quickstart

Sign in with GitHub, import a repository and publish your first deployment.

View as Markdown

This guide takes a Next.js app from a GitHub repository to a published deployment at https://<project>.arkor.app. Next.js is recommended. SvelteKit projects use the same import flow. Hono and fetch handlers can also deploy without Arkor configuration. Astro, React Router, TanStack Start, Nuxt and SolidStart also use this import flow for supported SSR builds. See each framework guide for build requirements.

You need:

  • A GitHub account. It is how you sign in to Arkor.
  • A Next.js app in a GitHub repository, on a version Arkor builds (see Next.js support).

There is nothing to pay to start: your personal team is on the free plan.

1. Sign in

Open the sign-in page and choose Continue with GitHub. The first time you sign in, a personal team is created for your GitHub account, and you land on its Projects page.

The Sign in page with the Continue with GitHub button.

2. Choose a plan

To deploy from your personal team on the free plan, which includes some usage each month, go on to step 3. A team you create needs Pro before it can have projects, and Pro also gives a personal team more usage: open Usage & billing in the sidebar, choose Choose a plan, then Subscribe monthly. Payment is taken by Stripe, which brings you back to the Projects page.

The Plan page offering Pro at $20 a month, including $20 of usage, with the Subscribe monthly button.

The plans and what they include are on Plans and billing.

3. Install the GitHub App

Choose Import from GitHub (or Add once you have a project), then Install GitHub App. On GitHub, pick the account or organization that owns your repository and the repositories Arkor may read. GitHub brings you back to Arkor when you are done.

The Import from GitHub page, asking to install the GitHub App before a repository can be chosen.

Signing in with GitHub does not give Arkor access to your repositories; the GitHub App does, and only to the repositories you choose.

4. Import the repository

Select your repository, then check the project settings:

  • Project name: suggested from the repository (owner/repo becomes owner-repo). It becomes the project's address, https://<name>.arkor.app, so it may use lowercase letters, digits and hyphens, and must contain at least one hyphen, like my-app.
  • Root directory: leave . unless the app is in a subdirectory of a monorepo, such as apps/web.

Choose Deploy. Arkor creates the project, connects the repository and starts the first build of the production branch.

The repository hina-nakahira/my-app selected, with the project name my-app, the root directory and the Deploy button.

5. Follow the build

You land on the build's page. It shows the stages (Fetch source, Build, Publish) and the end of the build log as it is written.

The build page of my-app's first deployment, following the build log live.

If the build fails, the page says why and where; see When a build fails.

6. Open your site

When the build has succeeded, it is published. The project's Overview shows the published deployment; choose Visit site to open https://my-app.arkor.app.

The Overview of my-app, showing the published deployment at my-app.arkor.app and the recent deployments.

From now on, every push to the production branch builds and publishes a new deployment, unless you turn off Deploy on push in Settings › Git.

Next steps

  • Serve the site under your own domain: Custom domains. The arkor.app address is shared by every project and is meant for checking builds, not for production traffic.
  • Add the variables your app reads: Environment variables.
  • Keep data in a D1 database, a KV namespace or an R2 bucket: Storage.
  • Measure traffic and performance: Web Analytics and Speed Insights.