This guide walks through setting up a TigerGraph database to configure with graph-app-kit
.
Create a free TigerGraph Cloud account, launch the prebuilt solution, and run the sample data loader and sampler query loader.
- Create a TG Cloud account
- Click Create Solution and choose the Fraud and Money Laundering Detection starter kit.
- Click through the options and launch, which takes ~5 minutes
- Open GraphStudio:
My Solutions
->Applications
->Graph Studio
, using credentialstigergraph
/password_you_set_during_launch
- In the top-left dropdown, flip from
Global View
toAnti Fraud
- Click the left menu's Load Data option and hit the play button (
Start/Resume loading
) to load the sample data into the graph - Click the left menu's Write Queriess option and hit the up button (
Installl all queries
) to compile the sample queries - Generate a secret token: Top-right
Admin
button ->User Management
-> new aliasmysecret
-> hit[ + ]
and copy the generated secret
See also the demo video from an older version of TG Cloud:
One-click launch a full graph-app-kit install or manually setup a local minimal version
-
AWS quick launch: Instance with preloaded Docker setup of Jupyter notebooks, public+private StreamLit dashboards, Graphistry/RAPIDS GPU visual analysis
-
Local version: Local Docker container with StreamLit and libraries, guides for adding API keys and common configurations
-
Go to your install's command line. If a quick-launched cloud instance, do so by SSH'ing and going to either your public server (
graph-app-kit/public/
) or private server (graph-app-kit/private/
) -
Store your TigerGraph credentials in
src/envs/tigergraph.env
:
TIGERGRAPH_HOST=https://myinstance.i.tgcloud.io
TIGERGRAPH_USERNAME=tigergraph
TIGERGRAPH_PASSWORD=mypassword
TIGERGRAPH_GRAPHNAME=AntiFraud
TIGERGRAPH_SECRET=mysecret
- Restart your Streamlit container with the new creds:
cd src/docker && sudo docker-compose up -d --force-recreate
- Go to the Streamlit website based on how you launched graph-app-kit:
/public/dash
//private/dash
(quick launched) orlocalhost:8501/
(manual)
The generic INTRO: SIMPLE PIPELINE
dashboard should have loaded
- Switch to
TIGERGRAPH: FRAUD FILTER CIRCLE
If you had not stored TigerGraph credentials, input them in the left sidebar menu