Matomo: 5. Retrieve credentials

This documentation is part of the Full CLI Automation Workflow guide. You can view the complete guide here: Start Matomo, retrieve its credentials, and modify its configuration programmatically using the Stackhero CLI.

👋 Welcome to the Stackhero documentation!

Stackhero offers a Matomo cloud solution that simplifies web analytics:

  • Unlimited websites, members, segments, goals, and data retention: analyse everything you need, for as long as you require.
  • Effortless updates: keep your analytics platform up to date with a single click.
  • Custom domain name with HTTPS: run Matomo at a secure, branded URL, such as https://analytics.your-company.com.
  • High performance and enhanced security: your data is hosted on private, dedicated infrastructure to ensure reliability and confidentiality.

With Stackhero, you can deploy Matomo analytics in just a few minutes and manage all your sites from a single location. Try our Matomo cloud hosting to simplify your analytics and focus on what matters most.

The service-configuration-get command returns the complete configuration for your service, including auto-generated passwords and connection details. The output is in JSON format, making it straightforward to use in scripts and automation.

stackhero service-configuration-get --service=svc-xxxxxx --format=json