Getting Started with the CData Excel Add-In for Bitbucket

Complete guide to installing, licensing, and connecting with the CData Excel Add-In for Bitbucket.


This guide explains everything you need to get started with the CData Excel Add-In for Bitbucket. You will learn how to install the add-in, understand licensing behavior, configure your first connection, and import real-time Bitbucket data directly into Excel for analysis, reporting, and automation.

Installation & Licensing

System Requirements

  • Windows: Windows 10/11 or Windows Server 2016+
  • Microsoft Excel: Excel 2016 or later, Excel for Microsoft 365
  • .NET Framework: .NET Framework 4.0 or later

Installing the Excel Add-In

Download and install the Excel Add-In from the CData website by visiting the Excel Add-In download page. Fill in the appropriate contact information when prompted.

Note: If you are downloading a licensed installer, use your company email address and license key.

  1. Run the installer and follow the setup wizard
  2. Once installation is complete, open Excel and verify that the CData tab appears in the Excel ribbon

Licensing the Excel Add-In

The Excel Add-In handles licensing during installation. When running the installer, you can choose to:

  • Use the trial license, or
  • Install a licensed build provided by CData

If you require a subscription license, contact the CData Orders Team at [email protected] to obtain your license key. Once the add-in is installed, it is ready for use.

Common Licensing Questions

Can I install the add-in on multiple machines?
Your subscription tier determines how many activations are included. Contact [email protected] for details.

I lost my license key. How do I retrieve it?
Email [email protected] with your order number, and we'll resend your license key.

How do I transfer my license?
To transfer the license to a different machine, you will need to submit a License Transfer Request on our site linked below:

https://www.cdata.com/lic/transfer/

After the License Transfer Request is submitted and successfully processed, an activation will be added to your Product Key and you will be able to activate the full license on the other machine. Once this process is finished, the license on the previous machine will be invalid.

For additional licensing questions, contact [email protected]. Viewing and upgrading your license can now be done through our self-service portal at portal.cdata.com.


Connection Configuration

Once the add-in is installed, you can configure a secure connection to Bitbucket directly from the Excel ribbon. The add-in stores connection settings inside the Excel environment and uses them to fetch live Bitbucket data.

Creating a New Connection

  1. Open Excel and navigate to the CData tab in the ribbon
  2. Click Get Data > From Bitbucket. Then, click New Bitbucket Connection to create a new connection
  3. Provide a name for your connection and enable Update, Insert, or Delete operations as required
  4. The CData Connection dialog opens. Enter the authentication details required for Bitbucket (OAuth, API token, credentials, etc.)

Configuring Connection Properties

For most queries, you must set the Workspace. The only exception to this is the Workspaces table, which does not require this property to be set, as querying it provides a list of workspace slugs that can be used to set Workspace. To query this table, you must set Schema to 'Information' and execute the query SELECT * FROM Workspaces>.

Setting Schema to 'Information' displays general information. To connect to Bitbucket, set these parameters:

  • Schema: To show general information about a workspace, such as its users, repositories, and projects, set this to Information. Otherwise, set this to the schema of the repository or project you are querying. To get a full set of available schemas, query the sys_schemas table.
  • Workspace: Required if you are not querying the Workspaces table. This property is not required for querying the Workspaces table, as that query only returns a list of workspace slugs that can be used to set Workspace.

Authenticating to Bitbucket

Bitbucket supports OAuth authentication only. To enable this authentication from all OAuth flows, you must create a custom OAuth application, and set AuthScheme to OAuth.

Be sure to review the Help documentation for the required connection properties for you specific authentication needs (desktop applications, web applications, and headless machines).

Creating a custom OAuth application

From your Bitbucket account:

  1. Go to Settings (the gear icon) and select Workspace Settings.
  2. In the Apps and Features section, select OAuth Consumers.
  3. Click Add Consumer.
  4. Enter a name and description for your custom application.
  5. Set the callback URL:
    • For desktop applications and headless machines, use http://localhost:33333 or another port number of your choice. The URI you set here becomes the CallbackURL property.
    • For web applications, set the callback URL to a trusted redirect URL. This URL is the web location the user returns to with the token that verifies that your application has been granted access.
  6. If you plan to use client credentials to authenticate, you must select This is a private consumer. In the driver, you must set AuthScheme to client.
  7. Select which permissions to give your OAuth application. These determine what data you can read and write with it.
  8. To save the new custom application, click Save.
  9. After the application has been saved, you can select it to view its settings. The application's Key and Secret are displayed. Record these for future use. You will use the Key to set the OAuthClientId and the Secret to set the OAuthClientSecret.

Testing your Connection

  1. Click Test Connection to validate your input
  2. Click OK to save the connection

Importing Data into Excel

After creating a connection, you can import Bitbucket data into Excel using the built-in query interface.

Selecting Tables and Views

  1. From the CData ribbon, click Get Data > From Bitbucket and choose the connection you just made
  2. The CData Query window opens. Click Select to choose a table or view
  3. Select your desired table and click OK

Running the Query

  1. A SQL query is automatically generated for your selected table
  2. Review the query (optional), then click OK to run it
  3. The results populate directly into your Excel worksheet

You can now build pivot tables, charts, or use Excel formulas to analyze your Bitbucket data.

Common Connection Issues

Authentication Failed

Solution: Verify your credentials or OAuth configuration. Ensure that your Bitbucket account has the required API permissions.

Cannot Connect to Bitbucket

Solution: Check your internet connection, firewall settings, or proxy configuration. Contact [email protected] for specific port requirements.

Table Not Found

Solution: Confirm your account has access to the selected Bitbucket data object. Use the table selector in the Query window to browse available resources.

Query Returned No Results

Solution: Verify any filters or WHERE clauses in the generated SQL. Remove or adjust filters to broaden your query.


What's Next

Now that you have installed, licensed, and configured the Excel Add-In, explore how to automate reporting, refresh live dashboards, and build advanced queries using SQL or Excel functions.

Excel Add-InArticle Title
Microsoft ExcelTransfer Data from Excel to Bitbucket

Get Support

If you need assistance at any point:


FAQs

Installation & Licensing

  • Does Excel require administrator rights to install the add-in?
    Administrative privileges are required for installation.
  • How do I activate a license?
    Licensing occurs during installation. Licensed installers automatically apply subscription keys.

Connecting

  • Can I use multiple Bitbucket accounts?
    Each time you click Get Data, you can configure a new connection.
  • Can I connect through a proxy?
    You can configure proxy settings in the Connection dialog.

Performance & Troubleshooting

  • Why is my query slow?
    Add filters using the query editor or narrow the selected fields.
  • How do I enable logging?

    Add the following to your connection manager:

    • Logfile: /path/to/logfile.log
    • Verbosity: 3

    Be prepared to securely upload the log file upon request when reaching out to [email protected] for troubleshooting analysis.

  • How do I refresh data?
    Select the imported table and click Refresh from the CData ribbon.

For questions not covered in this FAQ, contact [email protected].

Ready to get started?

Download a free trial of the Excel Add-In for Bitbucket to get started:

 Download Now

Learn more:

Bitbucket Icon Excel Add-In for Bitbucket

The Bitbucket Excel Add-In is a powerful tool that allows you to connect with live Bitbucket data, directly from Microsoft Excel.

Use Excel to read, write, and update Bitbucket 0, etc. Perfect for mass imports / exports / updates, data cleansing & de-duplication, Excel based data analysis, and more!