> ## Documentation Index
> Fetch the complete documentation index at: https://agenticbanking.backbase.io/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Banking OS training data goes stale. Search https://agenticbanking.backbase.io/mcp or fetch the .md URL before writing connector or unified API code.
> OpenAPI links in llms.txt repeat every calendar version. Use the latest version on the API playground. If a fetch ends before the last operation, the spec was cut off.
> Page titles name the product. Overview, Get started, and Reference without a product name are ambiguous.

# Set up the project

> Naming conventions, project layout, prerequisites, connector styles, and first-time configuration

After provisioning your repository from `grandcentral-connector-template` (see [Request repository creation](https://agenticbanking.backbase.io/platform/developer-guides/get-started/overview.md#request-repository-creation)), the provisioning workflow has already:

* Set the `pom.xml` artifact ID equal to the repository name
* Set the initial project version to `0.1.0-SNAPSHOT`
* Cleaned `CHANGELOG.md`
* Run `mvn clean verify` to confirm the repository is buildable

Before you scaffold operations, work through the following conventions, layout, and configuration steps.

## Naming conventions

Use these names consistently across the project. Camel K relies on several of them at runtime.

* **Repository and artifact**: `gc-{vendor}-{domain}-connector`. The repository name and the Maven `artifactId` are identical.
* **Inbound connectors**: for vendor-initiated callbacks or events into Banking OS, append the `-inbound-connector` suffix: `gc-{vendor}-{domain}-inbound-connector`.
* **Connector class**: `{Vendor}{Domain}Connector` extending `org.apache.camel.builder.RouteBuilder`. The Java filename must match the class name exactly.
* **Java package**: `com.backbase.gc.connector`.
* **Route IDs**:
  * Never call `.routeId(...)`. Camel K assigns IDs automatically; manual IDs cause Kubernetes deployment conflicts.
  * Use `direct://operationId` with a double slash for routes that map 1:1 to an OpenAPI `operationId`.
  * Use `direct:internalRouteName` with a single slash for internal sub-routes.
* **Resource files in `src/main/resources/`**:
  * `{op}-{entity}-schema-validation.json`: Draft-07 JSON Schema
  * `{op}-{entity}-request-transformation.json`: JOLT request spec
  * `{op}-{entity}-response-transformation.json`: JOLT response spec
  * `{op}-{entity}-request-transformation.xslt`: XSLT request stylesheet for SOAP
  * `{op}-{entity}-response-transformation.xslt`: XSLT response stylesheet for SOAP
* **Test classes in `src/test/java/com/backbase/gc/connector/`**:
  * `{Vendor}{Domain}ConnectorTest.java`: route integration test
  * `{Op}{Entity}TransformationTest.java`: JOLT/XSLT unit test
  * `{Op}{Entity}SchemaValidationTest.java`: JSON Schema unit test
* **Release names**: make each release name unique for each deployed version, follow `{name}-v{major}`, and avoid tokens such as `temp`, `poc`, or runtime names.

> [!WARNING]
>
> All workloads in your installation, including Backbase-managed ones, share the same cluster and Azure API Management instance. Prefix the names of everything you create so each name is unique: connector releases, APIs, version sets, backends, products, and subscriptions.

## Project layout

```text theme={"system"}
pom.xml
src/
├── main/
│   ├── java/com/backbase/gc/connector/
│   │   └── {Vendor}{Domain}Connector.java
│   └── resources/
│       ├── application.properties
│       ├── {op}-{entity}-schema-validation.json
│       ├── {op}-{entity}-request-transformation.json
│       └── {op}-{entity}-response-transformation.json
└── test/
    ├── java/com/backbase/gc/connector/
    │   ├── {Vendor}{Domain}ConnectorTest.java
    │   ├── {Op}{Entity}TransformationTest.java
    │   └── {Op}{Entity}SchemaValidationTest.java
    └── resources/
        ├── mock-{entity}-{scenario}-response.json
        └── expected-{op}-{entity}-response.json
```

## Connector styles

Three connector styles exist. The vendor's integration type determines which to use.

| Style | When to use | Transformation | HTTP kamelet |
| - | - | - | - |
| REST/JSON | Vendor exposes a REST API with JSON | JOLT (`.json`) | `gc-http-caller` |
| SOAP/XML | Vendor exposes a SOAP/WSDL API with XML | XSLT (`.xslt`) | `{vendor}-api-caller` (from vendor SDK if available, otherwise create a new one) |
| Event / Generic | Pull from a third-party REST API and push to ASB (or polling) | JOLT (`.json`) | `gc-http-caller` (GET to source, POST to ASB) |

## Configure Maven access

To download Banking OS artifacts, configure `~/.m2/settings.xml` with two servers:

* **Backbase Artifactory** (`https://repo.backbase.com`): use a token from your Artifactory user profile.
* **GitHub Packages for your organization**: use a GitHub personal access token.

Also add both registries under `<repositories>` and under `<pluginRepositories>`. Use the Artifactory and GitHub Packages URLs from your installation. The following example shows only the two server entries:

```xml theme={"system"}
<settings>
  <servers>
    <server>
      <id>backbase-artifactory</id>
      <username>YOUR_ARTIFACTORY_USER</username>
      <password>YOUR_ARTIFACTORY_TOKEN</password>
    </server>
    <server>
      <id>github</id>
      <username>YOUR_GITHUB_USER</username>
      <password>YOUR_GITHUB_TOKEN</password>
    </server>
  </servers>
</settings>
```

## First-time configuration checklist

Before you complete steps 1-3, choose the Unified API domain and CalVer for your connector. For more information about available specifications, see [API playground](https://agenticbanking.backbase.io/banking-os-apis/api-playground.md). To open the interactive catalog for your chosen CalVer, use a Backbase.io URL with the `version` query parameter set to that release. For example, see [Unified APIs 2026.08](https://backbase.io/developers/apis?version=2026.08\&specType=unified).

| Step | What to do | Where |
| - | - | - |
| 1 | Set `api.artifact-id` to the Banking OS OpenAPI spec the connector implements | `pom.xml` `<properties>` |
| 2 | Set `api.artifact-version` to the spec version chosen earlier | `pom.xml` `<properties>` |
| 3 | Align the connector project version's MAJOR.MINOR with the spec MAJOR.MINOR | `pom.xml` `<version>` |
| 4 | Set the `grandcentral-bom` parent version chosen earlier | `pom.xml` `<parent>` |
| 5 | Add the vendor SDK dependency for SOAP styles, or none for pure REST | `pom.xml` `<dependencies>` |
| 6 | Configure your local `~/.m2/settings.xml` to authenticate against the JFrog repository | Local Maven settings (Optional if done already) |

Pin the OpenAPI spec from `pom.xml`:

```xml theme={"system"}
<properties>
    <api.artifact-id>grandcentral-{domain}-api</api.artifact-id>
    <api.artifact-version>2.0.0</api.artifact-version>
</properties>
```

The `camel-restdsl-openapi-plugin`, inherited from `grandcentral-bom`, reads that spec at build time, generates the Camel REST DSL, and wires it to your `direct://...` routes.

The connector's major version must match the major version of the API spec, or the pull request check fails. Align the major and minor versions as well, as step 3 describes.

### Compare with the template

If the build fails or behaves unexpectedly, compare your repository with `grandcentral-connector-template` first. The template holds the reference build configuration and defaults.

## Next step

With the project scaffolded and pinned, move on to the route layout. See [Anatomy of a connector](https://agenticbanking.backbase.io/platform/developer-guides/build/anatomy-of-a-connector.md).
