# Using Apache Hop with CrateDB

**URL:** <https://community.cratedb.com/t/using-apache-hop-with-cratedb/1754>\
**Category:** Tutorials\
**Tags:** integration\
**Created:** [April 11, 2024, 7:40am UTC](https://community.cratedb.com/t/using-apache-hop-with-cratedb/1754 "2024-04-11T07:40:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hernanc](https://sea2.discourse-cdn.com/flex020/user_avatar/community.cratedb.com/hernanc/32/676_2.png) [@hernanc](https://community.cratedb.com/u/hernanc)\
**Post date:** [April 11, 2024, 7:40am UTC](https://community.cratedb.com/t/using-apache-hop-with-cratedb/1754/1 "2024-04-11T07:40:30Z")

</div>

[Apache Hop](https://hop.apache.org/) is an open-source data integration platform which started as a fork of Kettle (Pentaho Data Integration).

We can get started quickly by deploying it with Docker and connecting it to CrateDB:

```bash
mkdir jdbcdrivers
wget https://jdbc.postgresql.org/download/postgresql-42.7.1.jar
mv ./postgresql-42.7.1.jar jdbcdrivers/.
sudo docker run -d -p 8080:8080 --name apache_hop -v $(pwd)/jdbcdrivers:/files/jdbc --env HOP_SHARED_JDBC_FOLDERS=/files/jdbc apache/hop-web:latest

```

Then run this on your CrateDB instance:

```sql
CREATE TABLE pg_user (usesysid TEXT, usename TEXT);

```

Now browse to [http://localhost:8080/ui](http://localhost:8080/ui) and create a new “Relational Database Connection” with “Connection type” “PostgreSQL” using the coordinates of your CrateDB server and “doc” as “Database name”.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/crate/original/2X/a/a39948009409ed6a5590304af503ba481055ef71.png)

Fill in the details of your CrateDB database and test to test the connection and explore to start.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/crate/original/2X/3/3e328de3eedfccf964f56d3d446c2b241d9f7c89.png)

Use the “Table input” and “Table output” actions in your pipelines:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/crate/original/2X/6/6483ad99e45ea06560fb86d40f7d3a4fb51f130b.jpeg)

---

<div class="post-metadata">

**Author:** ![Baur](https://sea2.discourse-cdn.com/flex020/user_avatar/community.cratedb.com/baur/32/284_2.png) [@Baur](https://community.cratedb.com/u/Baur)\
**Post date:** [April 15, 2024, 12:39pm UTC](https://community.cratedb.com/t/using-apache-hop-with-cratedb/1754/2 "2024-04-15T12:39:43Z")

</div>

> <https://github.com/apache/hop/issues/3790>
>
> \### What would you like to happen?
> 
> We'd like to add this new type of data sourc…e, in order to write via the native JDBC driver and take advantage of its customisation from PostgreSQL JDBC driver.
> 
> \### Issue Priority
> 
> Priority: 3
> 
> \### Issue Component
> 
> Component: Database
