Previous
OAuth
You can use Viam to bill your customers using your own logo. This guide will show you how to set up white-labelled billing. Once set up:
Navigate to the organization settings page through the menu in upper right corner of the page. Create a Public namespace.
A logo to be displayed on the login screen for your organization. Your logo can be up to 200KB in size and must be in PNG format.
viam organization logo set --logo-path logo.png --org-id <org-id>
Successfully set the logo for organization <org-id> to logo at file-path: logo.png
You must have owner permissions on the organization.
The support email that will be shown when Viam sends emails to users on your behalf for email verification, password recovery, and other account-related emails.
viam organization support-email set --support-email support@logoipsum.com --org-id <org-id>
Successfully set support email for organization "<org-id>" to "support@logoipsum.com"
Enable the billing service for your organization:
viam organizations billing-service enable --org-id <org-id> --address "100 Center Street, New York, NY, 10001, USA"
Successfully enabled billing service for organization "<org-id>"
Get billing dashboard URL from the billing service config:
viam organizations billing-service get-config --org-id <org-id>
Billing config for organization: <org-id>
Support Email: support.person@email.com
Billing Dashboard URL: https://app.viam.com/billing/logoipsum
Logo URL: https://storage.googleapis.com/viam-self-service-<org-id>/primary_logo.png
--- Billing Address ---
Address Line 1: 123 Test Street
City: New York
State: Ny
Postal Code: 10001
Country: USA
You can update any value after setup using viam organizations billing-service update
.
Check the billing dashboard by navigating to the billing dashboard URL:
It will be of the form https://app.viam.com/billing/<public-namespace>
.
To see the billing dashboard for a specific organization, navigate to:
https://app.viam.com/billing/<public-namespace>?id=<org-id>
To use custom billing, add a billing configuration to your machines. You can add the billing configuration to individual machine configurations, however, usually this is added to a fragment.
{
"components": { ... },
"services" : { ... },
"billing": {
"cost_per_month": {
"per_machine": 10
},
"tier_name": "not-free"
}
}
{
"billing": {
"cost_per_month": {
"per_machine": 0,
"binary_data_upload_bytes": 0.0,
"binary_data_egress_bytes": 0.0,
"binary_data_cloud_storage_bytes": 0.0,
"tabular_data_upload_bytes": 0.0,
"tabular_data_egress_bytes": 0.0,
"tabular_data_cloud_storage_bytes": 0.0,
"history_cloud_storage_bytes": 0.0,
"logs_cloud_storage_bytes": 0.0,
"logs_data_upload_bytes": 0.0,
"logs_data_egress_bytes": 0.0
},
"tier_name": "example-tier",
"description": "",
"tier_credit": 0.0
}
}
Payments for white-labeled billing go directly to Viam. To arrange reimbursement, please contact us.
If you need further customization, please contact us.
Was this page helpful?
Glad to hear it! If you have any other feedback please let us know:
We're sorry about that. To help us improve, please tell us what we can do better:
Thank you!