Take the community feedback survey now.

Szymon Uryga
Jul 15, 2025
  0
(0 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

Please login to comment.
Latest blogs
A day in the life of an Optimizely OMVP - Opticon London 2025

This installment of a day in the life of an Optimizely OMVP gives an in-depth coverage of my trip down to London to attend Opticon London 2025 held...

Graham Carr | Oct 2, 2025

Optimizely Web Experimentation Using Real-Time Segments: A Step-by-Step Guide

  Introduction Personalization has become de facto standard for any digital channel to improve the user's engagement KPI’s.  Personalization uses...

Ratish | Oct 1, 2025 |

Trigger DXP Warmup Locally to Catch Bugs & Performance Issues Early

Here’s our documentation on warmup in DXP : 🔗 https://docs.developers.optimizely.com/digital-experience-platform/docs/warming-up-sites What I didn...

dada | Sep 29, 2025

Creating Opal Tools for Stott Robots Handler

This summer, the Netcel Development team and I took part in Optimizely’s Opal Hackathon. The challenge from Optimizely was to extend Opal’s abiliti...

Mark Stott | Sep 28, 2025

Integrating Commerce Search v3 (Vertex AI) with Optimizely Configured Commerce

Introduction This blog provides a technical guide for integrating Commerce Search v3, which leverages Google Cloud's Vertex AI Search, into an...

Vaibhav | Sep 27, 2025

A day in the life of an Optimizely MVP - Opti Graph Extensions add-on v1.0.0 released

I am pleased to announce that the official v1.0.0 of the Opti Graph Extensions add-on has now been released and is generally available. Refer to my...

Graham Carr | Sep 25, 2025