anchor.diff:  . Name the service account `spanner` and select the role Cloud Spanner | Cloud Spanner Admin. Turn on the option *Furnish a private key* and choose JSON. This key file will be downloaded to your computer and you will need it to access the database remotely. Click on Create.
   
   That's it! You have now created the Google Cloud Spanner database needed for this tutorial.
  +
  +== Step 2: Get the Example Project
  +I have created a sample project that will be used for this tutorial. Clone the project from https://github.com/olavloite/spanner-jpa-example . It is a Maven project with a dependency on a JDBC Driver for Google Cloud Spanner and on a Hibernate Dialect library. Make sure to get these dependencies. They are available on Maven Central. Then follow these steps:
  +
  +. Find the file `application.properties.example` in the root of the project and make a copy of this and name the copy `application.properties`.
  +. Open `application.properties` and change the value of spring.datasource.url into (make sure you change the placeholder [project-id] with the project id generated by Google (this is *NOT* the project name). Also change the placeholder [path-to-keyfile] with the actual location of the JSON keyfile generated in the steps above:
  +
  +	`jdbc:cloudspanner://localhost;Project=[project-id];Instance=test-instance;Database=test-database;PvtKeyPath=[path-to-keyfile]`
  +
  +. Run the Java application (the main class is Application.class). The application is configured to automatically create the tables needed for the entities that are defined in the source code. This example project contains two entities (Customer and Invoice), and these tables will be created. Note that this process can take some time as Cloud Spanner is not very quick when it comes to DDL.
  +. 
   
   
   
  
positive.code:   * Configuration: your choice
    * Nodes: 1
  . Create a database with these values:
    * Database name: test-database
    * Tables: Do not create any tables now
  . Now we will create a service account that you can use to access the database remotely. Click on the main menu button in the top left corner and select IAM & Admin.
  . Click on Service accounts in the menu on the left.
  