Connect Apache OpenOffice to Salesforce

Last modified: July 25, 2025

In this topic, you can find a step-by-step guide on how to connect to an ODBC database in Apache OpenOffice. Additionally, you’ll learn how to efficiently retrieve and display data from tables in the system.

Prerequisites

Create a DSN for Salesforce

Before you start, you need to configure a DSN for Salesforce in the ODBC Data Source Administrator. It’s required to establish a connect to an ODBC database in Apache OpenOffice. You can find the instructions for your OS in the following topics:

Import Salesforce data in Apache OpenOffice

1. Сlick Database to open the Database Wizard.

Select the Database option

2. Under Connect to an existing database, select ODBC, then click Next.

Connect to an existing database

3. Click Browse, select your DSN, then click Next.

Type the database name

4. Optional: If you didn’t save your Salesforce credentials during the DSN setup, enter your username in the User name field and select Password required.

Login credentials

5. To verify the connection, click Test Connection, enter your password, and click OK.

Verify the connection

6. To proceed to the final step, click Next. Leave the set options as default. To complete the process, click Finish.

Save the database

7. Enter a name for the database and specify the save path on your computer.

When the database opens, a list of available Salesforce tables is displayed.

Database tables

8. To view data from a table, double-click the required one.

Table data

9. To create a SQL query, in the Database pane, navigate to Queries and click Create Query in SQL View.

Create an SQL query

10. Enter your SQL query and press F5 to fetch the data.

Fetched data