Skip to content

Deploying with HaaS ​

This guide walks you through the step-by-step process of deploying your daemon (and optionally your AI service) using HaaS through the Publisher Portal.

Before You Begin

Step 1: Activate HaaS ​

After completing the first two steps of service creation in the Publisher Portal (service profile and metadata), you will reach the Pricing & Distribution step.

You will see a description of the Hosting-as-a-Service section with a link to the documentation and an Activate toggle. Click the toggle to enable HaaS for your service.

Pricing & Distribution page with the Hosting-as-a-Service section and Activate toggle

Step 2: Choose Deployment Mode ​

Once activated, you will see two tabs:

TabDescription
DaemonHosts only the daemon — you provide your own AI service endpoint
Daemon + AI ServiceHosts both the daemon and your AI service from a GitHub repository

Select the tab that matches your deployment mode.

Step 3: Configure Deployment ​

Daemon Only Mode ​

On the Daemon tab, provide the endpoint of your externally hosted AI service:

FieldRequiredDescriptionExample
Service EndpointYesPublic URL where your AI service is runninghttps://api.yourservice.com
AuthorizationNoKey, value, and location for each auth parameterKey: Authorization, Value: Bearer token123, Location: Header
Daemon tab showing Service Endpoint and Authorization fields with the note that daemon hosting is free

WARNING

Ensure your service endpoint is publicly accessible and properly configured to handle requests from the HaaS daemon.

Full-Stack Mode (Daemon + AI Service) ​

On the Daemon + AI Service tab, provide your GitHub repository details:

FieldRequiredDescriptionExample
GitHub Account NameYesGitHub account or organization that owns the repositoryyour-github-username
GitHub Repository NameYesName of the repository with your AI service codemy-ai-service
Service TypeYesType of compute resource for your AI serviceCPU / GPU

Click Check Repository to verify the SingularityNET HaaS GitHub App is installed on the repository.

Daemon + AI Service tab showing GitHub Account Name, GitHub Repository Name fields, Check Repository and Initiate Deployment buttons

WARNING

You must install the SingularityNET HaaS GitHub App on your repository before checking. Without it, the platform cannot access your repository or trigger automatic redeployments.

Step 4: Initiate Deployment ​

Click Initiate Deployment after filling in the required fields. If applicable, MetaMask will prompt you to confirm the transaction.

The platform then automatically:

  • Provisions dedicated infrastructure
  • Deploys and configures the daemon
  • Generates and applies SSL certificates
  • Sets up payment channel storage (ETCD)
  • Populates daemon configuration in your service settings
  • Full-Stack mode: Builds and deploys your AI service from the GitHub repository

Step 5: Review Auto-Configuration ​

The following fields are automatically filled in your service configuration:

FieldDescription
Daemon EndpointPublic HTTPS endpoint for your hosted daemon (e.g., https://<hash>.haas.singularitynet.dev)
HaaS Free Call Signer AddressEthereum address used for free call authentication
Auto-filled daemon configuration showing Daemon Endpoint and HaaS Free Call Signer Address

TIP

No ETCD configuration is required — HaaS uses a managed ETCD cluster automatically.

Full-Stack Deployment Progress

In Full-Stack mode, the AI service deployment progresses through the stages described in the Deployment Lifecycle. Monitor progress in the HaaS Dashboard.

Step 6: Verify Deployment ​

After deployment completes, you can verify the status on the Pricing & Distribution page. For Full-Stack deployments, a successful setup will show:

Pricing & Distribution page showing Daemon + AI Service tab with the message that both daemon and AI services are deployed and running

Step 7: Complete Service Publication ​

After HaaS successfully deploys your daemon (and AI service in Full-Stack mode), complete the remaining service publication steps in the Publisher Portal. Once published, your service is live on the AI Marketplace with fully managed infrastructure.

Next Steps ​

TIP

Head to Managing Deployments & Billing to learn how to monitor your deployments, view logs, and manage your subscription.