Step 1: Install the Domo Apps CLI
The Domo Apps CLI is the command line tool you can use to authenticate against your Domo Instance and publish your apps there.
- npm
- Mac OSX / Linux
- Windows
The DomoApps CLI is now distributed only through npm (Node Package Manager). Homebrew and Chocolatey are no longer supported and will not receive updates.
If you have previously installed the DomoApps CLI using Homebrew or Chocolatey, please uninstall those versions before installing via npm.To install the CLI, run the following command from your terminal:Confirm that
If you have previously installed the DomoApps CLI using Homebrew or Chocolatey, please uninstall those versions before installing via npm.To install the CLI, run the following command from your terminal:
domo has been installed successfully by running domo --version from the terminal. If a version number is returned then you have successfully installed the CLI.Step 2: Login to your Domo Instance
From your command-line, run
domo login and then select new instance.
Enter your assigned instance URL and then press enter. You’ll then be presented with a login screen and the Domo CLI will be authorized on your instance.
Connecting Through a Proxy
If your organization has a firewall set up that blocks you from hitting Domo endpoints, you’ll need to work with your network administrators to use the Domo Apps CLI with a proxy server. Otherwise, you can skip this step.
Set the CLI to route requests through your proxy with the following command:
-a flag (domo proxy -a), which will ask for your proxy username and will then also require the proxy password on all subsequent domo apps cli commands.
Step 3: Create a New App
Run the following commands from your command line to set up a new Domo App project.
Step 4: Leverage Domo App Platform APIs in your Web Application
You can now easily integrate Domo APIs into any front-end web application. See Tutorials or API Reference for code examples. If you don’t have a pre-existing web application, in addition to the simple
domo init templates, we have a number of Starter Kits you can use to get up and running quickly whether you prefer React, Angular, or Vue for front-end development.
Step 5: Publish App to Domo Instance
We publish our final product to Domo using