Get started with the Route Optimization API client libraries. To learn more about how
Google Cloud client libraries work, see [Client Libraries Explained](https://cloud.google.com/apis/docs/client-libraries-explained).

To use the client libraries, follow the next steps:

1. [Install the client library](https://developers.google.com/maps/documentation/route-optimization/client-libraries.md.txt#install_client_libraries) for your preferred language.
2. [Set up authentication](https://developers.google.com/maps/documentation/route-optimization/client-libraries.md.txt#set_up_authentication).
3. [Explore additional resources](https://developers.google.com/maps/documentation/route-optimization/client-libraries.md.txt#additional_resources), such as source code and issue trackers.

## Install client libraries

Select your programming language to view the installation command and setup
instructions.

### Java

For more information, see [Setting Up a Java Development Environment](https://cloud.google.com/java/docs/setup).

See [Google Route Optimization API Client for Java](https://github.com/googleapis/google-cloud-java/tree/main/java-maps-routeoptimization) for the installation
instructions.

### Go

```
go get cloud.google.com/go/maps
```

For more information, see [Setting Up a Go Development Environment](https://cloud.google.com/go/docs/setup).

See [Google Route Optimization API Client for Go](https://pkg.go.dev/cloud.google.com/go/maps/routeoptimization/apiv1) for the installation
instructions.

### Node.js

```
npm install @googlemaps/routeoptimization
```

For more information, see [Setting Up a Node.js Development Environment](https://cloud.google.com/nodejs/docs/setup).

For the complete installation instructions, see
[Google Routes API Client for Node.js](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-maps-routeoptimization)

### Python

```
pip install google-maps-routeoptimization
```

For more information, see [Setting Up a Python Development Environment](https://cloud.google.com/python/docs/setup).

For the complete installation instructions, see
[Google Route Optimization API Client for Python](https://github.com/googleapis/google-cloud-python/tree/main/packages/google-maps-routeoptimization)

### .Net

For more information, see [Setting Up a .Net Development Environment](https://cloud.google.com/dotnet/docs/setup).

For the complete installation instructions, see
[Google Route Optimization API Client for .Net](https://googleapis.dev/dotnet/Google.Maps.RouteOptimization.V1/latest/).

### PHP

```
composer require google/maps-routeoptimization
```

For more information, see [Getting Started with PHP](https://cloud.google.com/php/getting-started).

For the complete installation instructions, see
[Google Maps Route Optimization Client for PHP](https://packagist.org/packages/google/maps-routeoptimization).

## Set up authentication

The client libraries use [Application Default Credentials (ADC)](https://cloud.google.com/docs/authentication/application-default-credentials) for
authentication. To set up your credentials, see [Provide credentials for
ADC](https://cloud.google.com/docs/authentication/provide-credentials-adc). To learn how to integrate ADC with your code, see [Authenticate using
client libraries](https://cloud.google.com/docs/authentication/client-libraries).

## Additional resources

Select your programming language to find links to the source code, package
documentation, and issue tracker.

### Java

- [Source Code](https://github.com/googleapis/google-cloud-java/tree/main/java-maps-routeoptimization)
- [GitHub Issue Tracker](https://github.com/googleapis/google-cloud-java/issues)

### Go

- [Source Code](https://github.com/googleapis/google-cloud-go/tree/main/maps/routeoptimization/apiv1)
- [Package Documentation](https://pkg.go.dev/cloud.google.com/go/maps/routeoptimization/apiv1)
- [GitHub Issue Tracker](https://github.com/googleapis/google-cloud-go/issues)

### Node.js

- [Source Code](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-maps-routeoptimization)
- [GitHub Issue Tracker](https://github.com/googleapis/google-cloud-node/issues)

### Python

- [Source Code](https://github.com/googleapis/google-cloud-python/tree/main/packages/google-maps-routeoptimization)
- [GitHub Issue Tracker](https://github.com/googleapis/google-cloud-python/issues)

### .Net

- [Source Code](https://github.com/googleapis/google-cloud-dotnet/tree/main/apis/Google.Maps.RouteOptimization.V1)
- [GitHub Issue Tracker](https://github.com/googleapis/google-cloud-dotnet/issues)

### PHP

- [Source Code](https://github.com/googleapis/google-cloud-php/tree/main/MapsRouteOptimization)
- [GitHub Issue Tracker](https://github.com/googleapis/google-cloud-php/issues)

For additional support see [Support Options for Route Optimization API](https://developers.google.com/maps/documentation/route-optimization/support.md.txt).

<br />