--- title: "Initialize the project" url: https://docs.catalyst.zoho.com/en/tutorials/document-processor/nodejs/initialize-project/ description: "Create a Catalyst web application that detects, processes and extracts data from input digital documents using the components of Catalyst Zia Services." last_updated: 2026-08-17T12:16:04Z service: All Services type: tutorial related_links: - name: "Initialize Resources" url: /en/cli/v1/initialize-resources/introduction - name: "Project Directory Structure" url: /en/cli/v1/project-directory-structure/introduction/ --- # Initialize the Project from the CLI You can now begin working on your Catalyst project from the CLI. The first step is to initialize the project in an empty directory. This will be the home directory of your project, in which all of your project files will be saved. You can learn more about this from the [Project Directory Structure](https://docs.catalyst.zoho.com/en/cli/v1/project-directory-structure/introduction/) help page. You can learn about initializing a project in detail from the [CLI help documentation](https://docs.catalyst.zoho.com/en/cli/v1/initialize-resources/introduction/). For the Document Processor application, we will initialize the client and the Advanced I/O function components. In this tutorial, we will code the Advanced I/O function in the **Node.js** platform. Please follow the steps listed to initialize the project and create the function and client components required for the application: 1. Create a folder for the project on your local machine and navigate to it from the CLI terminal. 2. To initialize the project, execute the following command: ```sh catalyst init ``` 3. The CLI will now ask you to select the [default Catalyst organization](https://docs.catalyst.zoho.com/en/getting-started/catalyst-organizations/#the-default-organization). Select the organization in which you created the project in the first step of this tutorial, then press **Enter**. ![select-portal](https://catalyst-docs-development.zohostratus.in/images/tutorials/document-processor/nodejs/select-portal.webp) > **Note :** To find out the organization in which your project is present in, please access the [multi-org portal](https://docs.catalyst.zoho.com/en/getting-started/catalyst-organizations/#access-the-multi-org-portal) from your Catalyst console. 4. You can associate the current project directory with the Catalyst project you created in this organization. Select **Ecommerce** and press **Enter**. ![select-project](https://catalyst-docs-development.zohostratus.in/images/tutorials/document-processor/nodejs/select-project.webp) 5. Select **Functions** and **Client** by pressing **space**, then press **Enter** to confirm your choice and initialize your project. ![choose-resources](https://catalyst-docs-development.zohostratus.in/images/tutorials/document-processor/nodejs/choose-resources.webp) 6. The CLI will initiate the function setup. Select **AdvancedIO** as the function type. ![select-function](https://catalyst-docs-development.zohostratus.in/images/tutorials/document-processor/nodejs/select-function.webp) 7. Select the latest runtime of **Node.js** as the function stack. ![select-stack](https://catalyst-docs-development.zohostratus.in/images/tutorials/document-processor/nodejs/select-stack.webp) 8. Provide the package name as `"zia_services_function"` for your Node function when prompted and press **Enter**. You must also define the entry point as `index.js` and provide the author details in this step. You can alternatively press **Enter** without entering inputs to fill in the default values. The CLI will prompt the initialization of the Node dependencies. Press **Y** to confirm the installation, and press **Enter** to confirm your choice. The Node modules will be installed. > **Note :** Ensure that you enter the function's package name exactly as instructed, because the application's code contains the same name. ![functions-setup](https://catalyst-docs-development.zohostratus.in/images/tutorials/document-processor/nodejs/functions-setup.webp) 9. The CLI will now initiate the client set up. Select **React web app** and choose **JavaScript** from the option and press **Enter** to initialize your client as a [React web app](https://docs.catalyst.zoho.com/en/cli/v1/initialize-resources/initialize-client/#react-applications). ![react-app](https://catalyst-docs-development.zohostratus.in/images/tutorials/document-processor/nodejs/react-app.webp) 10. Enter **"app"** as the name of your client package and press **Enter**. You can also provide any name of your choice. ![choose-js](https://catalyst-docs-development.zohostratus.in/images/tutorials/document-processor/nodejs/client-initialization-setup-complete.webp) Catalyst initialization is now complete. The [project directory](https://docs.catalyst.zoho.com/en/cli/v1/project-directory-structure/introduction/) is now set up with the client directory and the functions directory along with configuration files and dependencies. The project directory also contains the `[catalyst.json](https://docs.catalyst.zoho.com/en/cli/v1/project-directory-structure/catalyst-json/)` configuration file and a hidden `.catalystrc` file. The structure of your project directory should appear as shown below: ![project-dir](https://catalyst-docs-development.zohostratus.in/images/tutorials/document-processor/nodejs/project-dir.webp)