Get started with Analytics Agent
Analytics Agent is an intelligent agent designed for data analytics scenarios. It allows you to describe analytics requirements in natural language and automatically performs data comprehension and insight report generation. This topic describes how to get started with the core analytics features of Analytics Agent.
Prerequisites
-
An Alibaba Cloud account is created, and identity verification is complete.
-
Analytics Agent Enterprise Edition is purchased. For more information, see Billing.
-
A database instance is available for analysis, such as ApsaraDB RDS for MySQL or PolarDB.
Limits
Analytics Agent is available only in the China (Hangzhou), China (Shanghai), China (Shenzhen), China (Chengdu), China (Beijing), China (Zhangjiakou), China (Hong Kong), and Singapore regions.
Procedure
Step 1: Go to Analytics Agent
-
Log on to the AI-Native Database Service console .
-
In the left-side navigation pane, choose Data Agent > Analytics.
Step 2: Add a data source
-
On the Analytics Agent conversation page, click the + button to the left of the input box, or click the data source configuration icon next to the input box.
-
Select the database instance and tables that you want to analyze. Analytics Agent supports ApsaraDB services and data sources managed by DMS.
-
Click OK to add the data source.
Step 3: Analyze data by using natural language
After the data source is added, describe your analytics requirements in natural language in the conversation panel. For example:
-
"Analyze the order trend over the past 7 days."
-
"Show the top 10 regions by sales amount this month."
-
"Compare user activity between last month and this month."
Analytics Agent automatically interprets your requirements, generates SQL queries, runs the analysis, and returns results with charts and text-based insights.
Step 4: View and export analysis results
Analysis results are displayed in the conversation area with charts and text-based interpretations. You can:
-
Ask follow-up questions to explore the results in more depth.
-
View the SQL statements generated by the agent and the execution process.
-
Export the analysis results as a report.
What to do next
-
For information about the full feature set and advanced usage of Analytics Agent, see Analytics Agent.
-
To integrate Analytics Agent into your applications by using the MCP protocol, see Data Agent MCP usage guide.