Developing an Application Flow often requires accessing external services like models and databases. Create reusable connections to store access credentials and configuration details. This simplifies integration by allowing you to select these pre-configured connections directly in your Application Flow nodes.
Create a service connections
Go to LangStudio. Select a Workspace, and then create a service connection on the Connection tab. You can create the following types of connections:
Model service
Use a Model Service connection to manage the model services invoked by your LangStudio workflows. These include models deployed on the Platform for AI - Elastic Algorithm Service (PAI-EAS), models from the 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 PAI-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 PAI-EAS or a third-party platform. For more information, see Model deployment and training. The configuration process is the same as that for the General LLM Service. |
General Multimodal Embedding Model Service | Configure a connection to a multimodal Embedding model service deployed on PAI-EAS or a third-party platform. For more information, see Model deployment and training. The configuration process is the same as that for the General LLM Service. |
Alibaba Cloud Model Studio Service | Configure connections for model services on the Alibaba Cloud Model Studio platform. Key parameter description: api_key: Access Alibaba Cloud Model Studio-API-KEY to create or obtain the API key. |
DeepSeek Model Service | Configure a connection to a model service deployed on the Alibaba Cloud Model Studio platform.
|
AI Search Open Platform Model Service | Configure the model service connection for AI Search Open Platform (Note: You must complete the prerequisites Activate AI Search Open Platform first):
|
Multimodal VL Intelligent Annotation Model | Use this connection for intelligent labeling of multimodal data. It only supports model services deployed on PAI-EAS. |
Database
A Database connection stores the information required to access various databases. Supported database types include Hologres, Vector database-Milvus, DashVector, Elasticsearch, and ApsaraDB RDS for MySQL.

Connection type | Key parameter description |
Search and Analysis Service - Elasticsearch |
|
Vector database-Milvus |
|
Vector database-DashVector |
|
ApsaraDB RDS for MySQL |
|
MCP service
An MCP Service connection manages the MCP services used in your LangStudio workflows.
Connection type | Key parameter description |
Function AI | Use this to configure an MCP Service deployed through Alibaba Cloud Function AI. Select an MCP service from the dropdown list to automatically populate the connection parameters. The |
Custom | Use this to configure an MCP Service that you have deployed yourself or that is hosted on a third-party platform.
|
Custom connection
If neither the Model Service nor the Database connection types meet your needs, you can create a custom connection using key-value pairs, such as a connection for SerpApi.

What to do next
After creating a service connection, you can use them in application flow development.
