A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More

Szymon Uryga
Jul 15, 2025
  684
(1 votes)

Optimizely Frontend Hosting: Deploy Without PowerShell Using the @kunalshetye/opticloud Package

In my last two blog posts, I walked through how to get started with deploying a headless app to Optimizely Frontend Hosting using PowerShell and the EpiCloud module. I also demonstrated how to automate the deployment using a script or GitHub Actions.

While that approach works great, it can be overwhelming for developers who aren’t familiar with PowerShell or the Optimizely Deployment API. Fortunately, there's now a much easier way to get started - with a single command and no PowerShell knowledge required.

Enter @kunalshetye/opticloud - a fantastic NPM package built by Kunal Shetye that takes care of the entire deployment logic for you. I’ve recently started using it myself, and I was immediately impressed by how fast and simple it is. If you're a frontend developer deploying to Optimizely DXP for the first time, this tool should absolutely be your first choice.

In this article, I’ll show you how easy it is to deploy a headless app using this modern CLI.

 


 

Deployment Without PowerShell - The @kunalshetye/opticloud NPM Package

For many developers, the first contact with Optimizely happens through the SaaS CMS, and they often have no experience with Optimizely DXP or PowerShell-based deployments. In these cases, the  @kunalshetye/opticloud package is an excellent solution.

This modern CLI tool, created by Kunal, handles the entire deployment process in a simple and developer-friendly way - whether you're deploying a headless app, CMS or commerce project.

 


 

🚀 How to Deploy Using the Optimizely DXP CLI

1. Install the Package

npm install -g @kunalshetye/opticloud

2. Authenticate with DXP

opticloud auth:login

You’ll be prompted to enter:

  • Client Key (from the DXP Cloud portal)

  • Client Secret

  • Project ID (the GUID of your DXP project)

3. Use the ship Command

Once authenticated, you can deploy your app using a single command:

opticloud ship ./ \
  --target=test1 \
  --type=head \
  --prefix=optimizely-one \
  --version=1.0.0 \
  --output=./

The ship command is the ultimate streamlined solution for Optimizely DXP deployments. It orchestrates everything from packaging to deployment in one step.

4. Automate It with GitHub Actions

Even better, opticloud comes with built-in support for GitHub Actions, making it easy to set up continuous deployment pipelines.

👉 Check out the official GitHub Actions documentation here: GitHub Actions Docs

 


 

🔚 Summary

Kunal has done an outstanding job building a modern deployment tool that eliminates the complexity of PowerShell and the legacy EpiCloud module. It’s now easier than ever for developers - especially frontend engineers who are new to Optimizely - to deploy to DXP with confidence.

With opticloud, you can:

  • Deploy headless apps, CMS sites, commerce platforms, and even SQL databases

  • Use GitHub Actions for seamless CI/CD

  • Avoid the steep learning curve of traditional DXP tooling

📘 Highly recommended: Explore the full documentation here → opticloud on NPM

 

Jul 15, 2025

Comments

Michał Mitas
Michał Mitas Jul 15, 2025 09:44 PM

Nice tip!

Please login to comment.
Latest blogs
Jhoose Security Modules v2.6.0 — Added support for Permissions Policy and .NET 10

Version 2.6.0 adds Permissions Policy header support, updates to .NET 10, improved policy management, configurable security settings, and enhanced...

Andrew Markham | Dec 6, 2025 |

Building a 360° Customer Profile With AI: How Opal + Optimizely Unlock Predictive Personalization

Creating truly relevant customer experiences requires more than collecting data—it requires understanding it. Most organizations already have rich...

Sujit Senapati | Dec 4, 2025

Building a Lightweight Optimizely SaaS CMS Solution with 11ty

Modern web development often requires striking a difficult balance between site performance and the flexibility needed by content editors. To addre...

Minesh Shah (Netcel) | Dec 3, 2025

Creating Opal Tools Using The C# SDK

Over the last few months, my colleagues at Netcel and I have partaken in two different challenge events organised by Optimizely and centered around...

Mark Stott | Dec 3, 2025