You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The next step is to project the data into a graph within a remote session.
33
33
The following example shows how to run a Cypher projection and xref:aura-graph-analytics/index.adoc#implicit-sessions[create a session] at the same time.
34
34
35
+
To run the example, you must first set two query parameters called `clientId` and `clientSecret` to your link:https://neo4j.com/docs/aura/api/authentication/[Aura API keys].
36
+
37
+
[NOTE]
38
+
====
39
+
It is good practice to use link:https://neo4j.com/docs/cypher-manual/current/syntax/parameters/[query parameters] for sensitive data such as credentials.
40
+
This also removes the need to enter the same strings multiple times.
41
+
42
+
In the Aura console, you can set query parameters within the link:https://neo4j.com/docs/aura/query/operations/#query-parameters[Query tool^].
43
+
For other environments, see the link:https://neo4j.com/docs/cypher-manual/current/syntax/parameters[Cypher manual].
44
+
====
45
+
35
46
[IMPORTANT]
47
+
====
36
48
Make sure that the credentials you use here are the link:https://neo4j.com/docs/aura/api/authentication/[Aura API keys] (client ID and client secret), *not* your AuraDB credentials (username and password).
<1> The Cypher `parallel` runtime is recommended but not mandatory.
55
73
<2> Add the `gds.aura.api.credentials` function before the actual query.
56
-
You need to set the string values for `clientId` and `clientSecret` as link:https://neo4j.com/docs/cypher-manual/current/syntax/parameters/[query parameters] first.
74
+
You need to set the string values for `clientId` and `clientSecret` as query parameters first.
57
75
<3> Set the `memory` (mandatory) and `ttl` (optional) parameters.
0 commit comments