[#configuring-the-jdbc-driver-manually]
= Configuring the JDBC driver manually

.Prerequisites

* A Maven-based application.
* The `module.xml` file created according to relevant {WildFly} instructions.
  This file is necessary to expose the driver through JBoss Modules.

.Procedure
. Edit the `project-defaults.yml` file to define the driver information.
+
In the `swarm` -> `datasources` -> `jdbc-drivers` tree, define the driver by
key, which will be used later for connecting it to the datasource.
+
[source,yaml]
----
swarm:
  datasources:
    jdbc-drivers:
include::src/main/resources/project-defaults.yml[tag=driver,indent=6]
----

