Skip to content

Commit fa3abe4

Browse files
authored
Merge pull request #5 from DataStax-Examples/dev
Update for IAM changes
2 parents 75376e7 + b07147e commit fa3abe4

File tree

1 file changed

+19
-12
lines changed

1 file changed

+19
-12
lines changed

README.md

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,31 +21,38 @@ To build and play with this app, follow the build instructions that are located
2121

2222
<!--- STARTEXCLUDE --->
2323
## Prerequisites
24-
Let's do some initial setup.
24+
Let's do some initial setup by creating a serverless(!) database.
2525

2626
### DataStax Astra
27-
1. Create a [DataStax Astra account](https://astra.datastax.com/register?utm_source=github&utm_medium=referral&utm_campaign=UTM_CODE) if you don't
27+
1. Create a [DataStax Astra account](https://astra.datastax.com/register?utm_source=github&utm_medium=referral&utm_campaign=getting-started-with-astra-java) if you don't
2828
already have one:
2929
![image](https://raw.githubusercontent.com/DataStax-Examples/sample-app-template/master/screenshots/astra-register-basic-auth.png)
3030

31-
2. On the home page. Locate the button **`Add Database`**
31+
2. On the home page. Locate the button **`Create Database`**
3232
![image](https://raw.githubusercontent.com/DataStax-Examples/sample-app-template/master/screenshots/astra-dashboard.png)
3333

34-
3. Pick **free plan** and a **region** close to you, click configure.
35-
![image](https://raw.githubusercontent.com/DataStax-Examples/sample-app-template/master/screenshots/astra-create-db-1-top.png)
36-
![image](https://raw.githubusercontent.com/DataStax-Examples/sample-app-template/master/screenshots/astra-create-db-1-bottom.png)
34+
3. Locate the **`Get Started`** button to continue
35+
![image](https://raw.githubusercontent.com/DataStax-Examples/sample-app-template/master/screenshots/astra-select-plan.png)
3736

38-
4. Define a **database name**, **keyspace name** and **credentials** (Take note of the DB Password)
39-
![image](https://raw.githubusercontent.com/DataStax-Examples/sample-app-template/master/screenshots/astra-create-db-2.png)
37+
4. Define a **database name**, **keyspace name** and select a database **region**, then click **create database**.
38+
![image](https://raw.githubusercontent.com/DataStax-Examples/sample-app-template/master/screenshots/astra-create-db.png)
4039

4140
5. Your Astra DB will be ready when the status will change from *`Pending`* to **`Active`** 💥💥💥
4241
![image](https://raw.githubusercontent.com/DataStax-Examples/sample-app-template/master/screenshots/astra-db-active.png)
4342

44-
6. Locate the combo `Organization: <Your email>` on the top navigation. In the drop down menu, click your current organization.
45-
![image](https://raw.githubusercontent.com/DataStax-Examples/sample-app-template/master/screenshots/astra-org-menu-open.png)
43+
6. After your database is provisioned, we need to generate an Application Token for our App. Go to the `Settings` tab in the database home screen.
44+
information (we'll need this later!):
45+
![image](https://raw.githubusercontent.com/DataStax-Examples/sample-app-template/master/screenshots/astra-db-settings.png)
4646

47-
7. Scroll down to the bottom of the page and locate `Service Account` in `Security Settings` and select `Copy Credentials` as shown below.
48-
![image](https://raw.githubusercontent.com/DataStax-Examples/sample-app-template/master/screenshots/astra-org-copy-credentials.png)
47+
7. Select `Admin User` for the role for this Sample App and then generate the token. Download the CSV so that we can use the credentials we need later.
48+
information (we'll need this later!):
49+
![image](https://raw.githubusercontent.com/DataStax-Examples/sample-app-template/master/screenshots/astra-db-settings-token.png)
50+
51+
8. After you have your Application Token, head to the database connect screen and select the driver connection that we need. Go ahead and download the `Secure Bundle` for the driver.
52+
![image](https://raw.githubusercontent.com/DataStax-Examples/sample-app-template/master/screenshots/astra-db-connect-bundle.png)
53+
54+
9. Make note of where to use the `Client Id` and `Client Secret` that is part of the Application Token that we generated earlier.
55+
![image](https://raw.githubusercontent.com/DataStax-Examples/sample-app-template/master/screenshots/astra-db-connect-bundle-driver.png)
4956

5057
### Github
5158
1. Click `Use this template` at the top of the [GitHub Repository](https://github.com/DataStax-Examples/getting-started-with-astra-java):

0 commit comments

Comments
 (0)