--- title: "Deploy to Catalyst" url: https://docs.catalyst.zoho.com/en/pipelines/help/deployments/deploy-to-catalyst/ description: "Learn more about the sample YAML code snippet to deploy an application to Catalyst using the Pipelines service." last_updated: 2026-08-28T06:26:16Z service: Pipelines type: general related_links: - name: "Deploy Basic Web Client" url: /en/cli/v1/deploy-resources/deploy-client/ --- # Deploy to Catalyst In this section, we'll look into a sample YAML code to automate the deployment of a [basic Catalyst web client](https://docs.catalyst.zoho.com/en/cli/v1/deploy-resources/deploy-client/) and [Catalyst Serverless Functions](https://docs.catalyst.zoho.com/en/serverless/help/functions/introduction/) component. This code is applicable to **Java**, **Node.js** and **Python**. You will have to configure the following keys as global variables in your pipeline. You can refer [this help section](https://docs.catalyst.zoho.com/en/pipelines/help/catalyst-pipelines.yaml/implementation) to learn about configuring variables. * `PROJECT_ID` : The unique ID of your project assigned by Catalyst. You can fetch this value from the [General Settings](https://docs.catalyst.zoho.com/en/getting-started/set-up-a-catalyst-project/general-settings/) in the console. * `CATALYST_ORG` : The Catalyst organization to which the current project belongs. You can fetch this value from the [Multi-Org portal](https://docs.catalyst.zoho.com/en/getting-started/catalyst-organizations/#access-the-multi-org-portal) in the console. * `CATALYST_TOKEN` : A unique token to access the Catalyst CLI from the YAML. Refer to [this help page](https://docs.catalyst.zoho.com/en/cli/v1/working-with-tokens/generate-token/) to learn more about token generation. * `USER_NAME` : The username of your [Docker Hub](https://hub.docker.com/) account. * `USER_PASSWORD` : The password of your [Docker Hub](https://hub.docker.com/) account. ```xml version: 1 runners: Machine: config-id: 2 images: DeployMachine: image: ubuntu auth: username: << env.USER_NAME >> password: << env.USER_PASSWORD >> jobs: Deploy_Client_Functions: steps: - apt-get update - apt-get -y install openjdk-17-jdk curl - curl -fsSL https://deb.nodesource.com/setup_18.x | bash - - apt-get install -y nodejs - apt-get update && \ - apt-get install -y software-properties-common wget curl && \ - add-apt-repository ppa:deadsnakes/ppa && \ - apt-get update && \ - apt-get install -y python3.10 python3.10-distutils && \ - wget https://bootstrap.pypa.io/get-pip.py && \ - python3.10 get-pip.py && \ - rm get-pip.py - npm i -g zcatalyst-cli - catalyst -v - cd functions/Node - npm install - cd ../.. - catalyst deploy --project << env.PROJECT_NAME >> --org << env.CATALYST_ORG >> --token << env.CATALYST_TOKEN >> stages: - name: build image: DeployMachine jobs: - Deploy_Client_Functions ```