6. Set Up Project Zero
Last updated
Was this helpful?
Last updated
Was this helpful?
Project Zero is Akinon's customizable frontend framework built on Next.js, designed to provide brands with a fast, modern, and flexible storefront experience. Once your products, prices, inventory, and channel settings are successfully configured in Omnitron, setting up Project Zero is the final step to bring your storefront to life.
This setup process connects your backend data to a fully functional frontend, enabling users to browse products, add them to cart, and complete orders using defined payment and shipping methods. Below is a step-by-step guide to setting up, configuring, and deploying your Project Zero application within the ACC platform.
Follow these instructions to:
Create a new Project Zero app in ACC
Configure environment variables and Git access
Deploy your app and connect it to your project
Go live with a fully integrated storefront experience
Let’s begin.
To begin, you need to create a new Project Zero application in ACC:
Navigate to the ACC Dashboard and open the My Applications page.
Click on the + NEW APPLICATION button.
Fill in the form for Project Zero:
Application Type: Select Zero NextJS
Product Images: Upload at least 4 images.
After completing the form, click APPLY to create your application. Your application will now appear on the My Applications page.
To set up your Project Zero storefront, begin by installing the required package manager and initializing the project using the Project Zero CLI tool.
Use the CLI to generate your storefront project:
When prompted, provide the following information:
Brand name (required): Enter the name of your storefront (e.g., Project Zero
).
Project description (optional): Add an optional description for your project.
Commerce URL (optional): Provide the URL to connect to Omnitron. This value can also be edited later in the environment configuration file.
To enable build and deploy operations via Git:
Generate your SSH public key and copy it to the clipboard:
In ACC, navigate to Settings > Public Keys.
Click + NEW PUBLIC KEY, enter a label and paste your copied key. Click SAVE.
Connect your local directory to the repository ACC generated for your app:
In My Applications, locate your app and copy the Repository URL.
In your local project directory:
Ensure all changes are committed and tag your version for deployment:
Use a meaningful tag name that reflects your build version.
To build your application:
Go to My Applications, and click on your Project Zero app.
In the Versions section, click the BUILD button.
Enter:
The tag name you pushed
An optional description
Click BUILD.
Once the build status changes to Completed, mark it as the Stable Version.
To link the application to your ACC project:
Open the App Store in ACC. Locate your Project Zero application and click on it.
Choose the project to install the app into. Select Commerce
as the Connected Service. Click NEXT.
Then INSTALL on the approval page.
Once the installation is complete, you’ll see a success message.
Your app is now listed under the Applications tab in your Project Detail Page.
In your application settings on ACC, add the following environment variables:
NEXTAUTH_URL
Project Zero URL
https://your-zero-app.lb.akinoncloud.com
NEXTAUTH_SECRET
Auth secret, run in terminal:
openssl rand -base64 32
iHBeNJAOVWvFZL4PmyHVA7b6y28Tvc47NJi4zdX2sPI=
NEXT_PUBLIC_URL
Same as NEXTAUTH_URL
https://your-zero-app.lb.akinoncloud.com
SERVICE_BACKEND_URL
Commerce service URL
https://your-commerce-service.lb.akinoncloud.com
To add them:
Go to Project Detail > Project Zero Application Detail page.
Open the Environment Variables tab.
Click + NEW ENVIRONMENT VARIABLE for each entry.
To apply your changes and reflect the Project Zero layout on the storefront:
In My Applications, open your Project Zero app.
In the Installed Projects section, choose your project. Click DEPLOY SELECTED PROJECTS.
In the pop-up:
Enter the tag name of your last successful build.
Start the deployment.
Once complete, the deployment status will update to Deployed
.
You’re all set! To access your storefront:
Go to the Project Detail page. Click into the Project Zero app details.
Find the Project Zero URL.
Open the link in your browser with /list
at the end, e.g.:
You should see your listed products, which means your setup was successful.
With your Project Zero storefront live and fully integrated, your commerce environment is now ready for action.
Customers can browse your catalog, add products to their cart, choose from your configured shipping options, and complete their orders using the defined payment methods.
All backend configurations—from product data to pricing and logistics—are now perfectly aligned with the frontend experience.
Congratulations! Your shop is officially open for business. Time to welcome your first customers and start selling!