Stay organized with collections
Save and categorize content based on your preferences.
This page describes how to create and manage connections in
Cloud Data Fusion version 6.5 and later.
A connection stores information, such as user credentials and host information,
which is needed to connect to data sources. When you use a connection in a
plugin, the plugin inherits all of the properties configured in the connection.
After you create the connection, you can reuse it for other pipelines in the
namespace. When you export a pipeline that has a plugin that uses a connection,
the pipeline configuration JSON includes all of the properties.
You can manage connections for each namespace on the following pages in the
Cloud Data Fusion Studio:
The Namespace Admin page lets you add, edit, delete, duplicate, export,
and import connections for each namespace.
The Wrangler workspace page lets you add, edit, delete, duplicate, and
export connections for each namespace.
The Studio page lets you add and import connections for supported plugins
for each namespace.
Before you begin
Before you add a connection for a database source, you must upload the JDBC
driver to Cloud Data Fusion. You can upload the driver from the Hub or
the Namespace Admin page.
Supported plugins
The following plugins support reusable connections:
Amazon S3
BigQuery
Spanner
Cloud Storage
Cloud SQL for MySQL
Cloud SQL for PostgreSQL
Database
Kafka
Microsoft SQL Server
MySQL
Oracle
PostgreSQL
Salesforce
SAP Ariba
SAP BW Open Hub Batch Source
SAP ODP
SAP Table
Zendesk
Create a connection
To create a new connection, follow these steps:
In the Cloud Data Fusion Studio, click
menuMenu>Namespace Admin>Connections.
Click Add connection.
From the Add connection page, select the type of connection to create.
Configure the connection properties.
Optional: to make sure the connection works, click Test connection.
Click Create.
The connection appears in the Connection type field and is available for all
users in the namespace. The connection is available for use on the Wrangler
workspace page and on the Studio page in the Wrangler plugin properties.
Use a connection in a plugin
When you use a connection in a plugin, the plugin inherits the connection
properties that you configured in the previous step.
To use a connection in one of the supported plugins, follow these steps:
In the Cloud Data Fusion Studio interface, open a pipeline on the
Studio page.
Hold the pointer over the source node that appears and click Properties.
Set Use connection to Yes.
Click Browse connections. You can select an existing connection or
create a new one. After you select the connection, all properties associated
with the connection no longer appear. The connection properties are stored
in the connection.
Configure the rest of the required plugin properties.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[[["\u003cp\u003eConnections in Cloud Data Fusion (version 6.5+) store vital information like credentials and host details for connecting to data sources, allowing for the reuse of configurations across multiple pipelines within a namespace.\u003c/p\u003e\n"],["\u003cp\u003eConnections can be managed through the Namespace Admin, Wrangler, and Studio pages, with the ability to add, edit, delete, duplicate, import, and export them, and are accessible to all users within the namespace.\u003c/p\u003e\n"],["\u003cp\u003eA wide variety of plugins, such as BigQuery, Cloud Storage, and various database connectors, support the use of reusable connections, which can be selected or created directly within the plugin's properties.\u003c/p\u003e\n"],["\u003cp\u003eBefore creating a connection for a database, the appropriate JDBC driver needs to be uploaded, which can be done either from the Hub or the Namespace Admin page.\u003c/p\u003e\n"],["\u003cp\u003eRole-based access control (RBAC) is supported for connections.\u003c/p\u003e\n"]]],[],null,["# Create and manage connections\n\nThis page describes how to create and manage connections in\nCloud Data Fusion version 6.5 and later.\n\nA connection stores information, such as user credentials and host information,\nwhich is needed to connect to data sources. When you use a connection in a\nplugin, the plugin inherits all of the properties configured in the connection.\nAfter you create the connection, you can reuse it for other pipelines in the\nnamespace. When you export a pipeline that has a plugin that uses a connection,\nthe pipeline configuration JSON includes all of the properties.\n\nYou can manage connections for each namespace on the following pages in the\nCloud Data Fusion Studio:\n\n- The **Namespace Admin** page lets you add, edit, delete, duplicate, export,\n and import connections for each namespace.\n\n- The **Wrangler** workspace page lets you add, edit, delete, duplicate, and\n export connections for each namespace.\n\n- The **Studio** page lets you add and import connections for supported plugins\n for each namespace.\n\n| **Note:** Role-based access control (RBAC) is supported for connections. For more information, see the [Role-based access control (RBAC) overview](/data-fusion/docs/concepts/rbac).\n\nBefore you begin\n----------------\n\n- Before you add a connection for a database source, you must upload the JDBC driver to Cloud Data Fusion. You can upload the driver from the Hub or the **Namespace Admin** page.\n\n### Supported plugins\n\nThe following plugins support reusable connections:\n\n- Amazon S3\n- BigQuery\n- Spanner\n- Cloud Storage\n- Cloud SQL for MySQL\n- Cloud SQL for PostgreSQL\n- Database\n- Kafka\n- Microsoft SQL Server\n- MySQL\n- Oracle\n- PostgreSQL\n- Salesforce\n- SAP Ariba\n- SAP BW Open Hub Batch Source\n- SAP ODP\n- SAP Table\n- Zendesk\n\nCreate a connection\n-------------------\n\nTo create a new connection, follow these steps:\n\n1. In the Cloud Data Fusion Studio, click menu **Menu** \\\u003e **Namespace Admin** \\\u003e **Connections**.\n2. Click **Add connection**.\n3. From the **Add connection** page, select the type of connection to create.\n4. Configure the connection properties.\n\n | **Note:** Connection names must be unique in a namespace and can only include letters, numbers, underscores, and hyphens.\n5. Optional: to make sure the connection works, click **Test connection**.\n\n6. Click **Create**.\n\nThe connection appears in the **Connection type** field and is available for all\nusers in the namespace. The connection is available for use on the **Wrangler**\nworkspace page and on the **Studio** page in the Wrangler plugin properties.\n| **Note:** You can create a connection from the **Studio** , **Wrangler** , or **Namespace Admin** pages in the Cloud Data Fusion Studio.\n\nUse a connection in a plugin\n----------------------------\n\nWhen you use a connection in a plugin, the plugin inherits the connection\nproperties that you configured in the previous step.\n\nTo use a connection in one of the supported plugins, follow these steps:\n\n1. In the Cloud Data Fusion Studio interface, open a pipeline on the **Studio** page.\n2. In the plugin pallet, expand the menu **Source** menu, and select a [supported batch source plugin](#supported_plugins).\n3. Hold the pointer over the source node that appears and click **Properties**.\n4. Set **Use connection** to **Yes**.\n5. Click **Browse connections**. You can select an existing connection or create a new one. After you select the connection, all properties associated with the connection no longer appear. The connection properties are stored in the connection.\n6. Configure the rest of the required plugin properties.\n7. Optional: to test the connection, click **Validate**.\n8. Click close **Close**.\n\n| **Note:** You can edit, delete, duplicate, import, or export each connection.\n\nWhat's next\n-----------\n\n- Learn more about using [macros in plugins](/data-fusion/docs/concepts/macros)."]]