Notice
The user connecting to the database must have the CREATE, INSERT, DROP, and SELECT privileges on the database.
* `$user_name`: The database account.
* `$password`: The password for the account.
## Step 2: Set up the Maven project
Maven is a project management and build tool used in this topic. This step describes how to create a Maven project and add project dependencies by configuring the `pom.xml` file.
### Create a project
1. Run the following Maven command to create a project.
```shell
mvn archetype:generate -DgroupId=com.alibaba.cloud.ai.example -DartifactId=vector-oceanbase-example -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
```
2. Go to the project directory.
```shell
cd vector-oceanbase-example
```
### Configure the `pom.xml` file
The `pom.xml` file is the core configuration file of the Maven project, used to manage project dependencies, plugins, configurations, and other information. To build the project, you need to modify the `pom.xml` file and add Spring AI Alibaba, seekdb vector storage, and other necessary dependencies.
Open the `pom.xml` file and replace the existing content with the following:
```xml