# Plugin second database

**URL:** <https://forum.shopware.com/t/plugin-second-database/102455>\
**Category:** Shopware 6 (English)\
**Tags:** programming\
**Created:** [9. Januar 2024 um 11:53 UTC](https://forum.shopware.com/t/plugin-second-database/102455 "2024-01-09T11:53:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tommy.d.hansen](https://avatars.discourse-cdn.com/v4/letter/t/91b2a8/32.png) [@tommy.d.hansen](https://forum.shopware.com/u/tommy.d.hansen)\
**Post date:** [9. Januar 2024 um 11:53 UTC](https://forum.shopware.com/t/plugin-second-database/102455/1 "2024-01-09T11:53:58Z")

</div>

Hey all

I am new to shopware.

I am trying to make a plugin that needs to connect to both shopwares default database, but also another existing database to get some extra info.

How can I make a second database connection and also keep the main database connection? If anybody could link me to some documentation, or a guide, I would really appreciate it 🙂

Cheers  
Tommy
