> For the complete documentation index, see [llms.txt](https://horizon-scripts.gitbook.io/horizon-scripts-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://horizon-scripts.gitbook.io/horizon-scripts-docs/horizonphone/integrations.md). Agents can also search and read this documentation through its [MCP server](https://horizon-scripts.gitbook.io/horizon-scripts-docs/~gitbook/mcp).

# Integrations

## Garage bridge

Garage access uses a priority-based system: custom bridge, compatible garage exports, then framework/database fallback.

Built-in export detection includes `jg-advancedgarages`, `qs-advancedgarages`, `cd_garage`, `loaf_garage`, `okokGarage`, `lunar_garage`, `codem-garage`, `vms_garagesv2` and `RxGarages`.

```lua
Config.GarageBridgeResource = 'my-garage'

Config.GarageBridgeGetVehicles = function(source)
    -- Return the player's vehicles.
end

Config.GarageBridgeGetVehicle = function(source, plate)
    -- Return one vehicle by plate.
end

Config.GarageBridgeGetGarageCoords = function(garageName)
    -- Return coordinates or nil.
end

Config.GarageBridgeSetVehicleOut = function(source, vehicleData)
    -- Release/spawn the vehicle and return true on success.
end
```

Return `nil` when a handler cannot handle a request so the next adapter can run.

## Vehicle keys

Built-in adapters support `qb-vehiclekeys`, `vehiclekeys`, `qs-vehiclekeys`, `wasabi_carlock` and `mk_vehiclekeys`.

```lua
Config.VehicleKeysBridgeResource = 'my-vehicle-keys'

Config.VehicleKeysBridgeGiveKeys = function(vehicle, plate)
    -- Give keys to the player.
    return true
end
```

## Voice

Verify that the configured voice resource is started before testing calls.
