When you develop an application flow, you often need to access external services, such as models and databases. Creating reusable connections to store access information simplifies integration by allowing you to select these pre-configured connections directly in application flow nodes.
Create service connections
Go to LangStudio. Select a workspace, and then create a service connection on the Connections tab. You can create the following types of connections:
Model service
Use a model service connection to manage the model services used in your LangStudio workflows. These include models deployed on the Platform for AI Elastic Algorithm Service (PAI-EAS), models from Alibaba Cloud Model Studio, and other third-party model services.

Connection type | Key parameter description |
General LLM Service | Configure a connection to an LLM service deployed on EAS or a third-party platform. For more information about deployment, see Model deployment and training.
|
General Embedding Model Service | Configure a connection to an embedding model service deployed on EAS or a third-party platform. For more information, see Model deployment and training. The configuration method is the same as for the General LLM Service connection. |
General Multimodal Embedding Model Service | Configure a connection to a multimodal embedding model service deployed on EAS or a third-party platform. For more information, see Model deployment and training. The configuration method is the same as for the General LLM Service connection. |
Model Studio Service | Configure a model service connection for the Alibaba Cloud Model Studio platform. Key parameter: api_key: Go to Alibaba Cloud Model Studio - API KEY to create or find the API key. |
DeepSeek Model Service | Configure a connection for the DeepSeek model service. Key parameter: api_key: Go to the DeepSeek official website to create or find your API key. |
AI Search Open Platform Model Service | Configure connection information for the AI Search Open Platform model service. Note that you must first activate the service.
|
Multimodal VL Intelligent Annotation Model | Use this to intelligently annotate multimodal data. Only model services deployed on EAS are supported. |
Database
A database connection stores the access configurations for various databases. Supported database types include Hologres, Milvus, DashVector, Elasticsearch, and ApsaraDB RDS for MySQL.

Connection type | Key parameter description |
Search and Analytics Service - Elasticsearch |
|
Vector Database - Milvus |
|
Hologres - Real-time Data Warehouse |
|
DashVector Vector Database |
|
ApsaraDB RDS for MySQL |
|
MCP service
Use an MCP service connection to manage the various MCP services used in your LangStudio workflows.
Connection type | Key parameter description |
Function AI | Configure an MCP service deployed through Alibaba Cloud Function AI. Select an MCP service from the drop-down list to automatically fill in the connection parameters. The url defaults to the public endpoint of the MCP service. |
Custom | Configure an MCP service that you deployed or that is hosted on a third-party platform.
|
Custom connection
If the Model Service and Database connection types do not meet your needs, you can create a custom connection using key-value pairs, such as a connection for SerpApi.

What to do next
After you create a service connection, you can configure it during application flow development.
