Skip to content

Commit eda4f2b

Browse files
aniloncloudAnil Nadimintideepaxs
authored
docs(08-agents-that-transact): convert payments getting-started to AgentCore CLI + SDK (#1767)
--------- Co-authored-by: Anil Nadiminti <anilnadi@amazon.com> Co-authored-by: deepaxs <deepaxs@amazon.com>
1 parent 790838a commit eda4f2b

49 files changed

Lines changed: 2163 additions & 1684 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# AgentCore payments getting-started — local artifacts to keep out of git.
2+
# (Secrets like .env, plus .venv / __pycache__, are already covered by the repo-root .gitignore;
3+
# this file adds the scaffolded AgentCore CLI project directories these tutorials generate.)
4+
5+
# Scaffolded AgentCore CLI projects (created by `agentcore create --name <X>`).
6+
# These contain generated CDK/Docker/config and an .env.local with provider credentials —
7+
# never commit them.
8+
PaymentSetup/
9+
PaymentAgent/
10+
PaymentOrchestrator/
11+
BazaarAgent/
12+
13+
# Any other agentcore project scaffold (agentcore.json marks the project root) + its local config.
14+
**/agentcore.json
15+
**/aws-targets.json
16+
**/.env.local
17+
.bedrock_agentcore/
18+
.bedrock_agentcore.yaml
19+
cdk.out/
20+
21+
# Local test scratch (venv, caches, secret .env, and any .env backups) — belt-and-suspenders
22+
# even though the repo root already ignores these.
23+
.venv/
24+
__pycache__/
25+
*.pyc
26+
.env
27+
.env.*
28+
!.env.sample
29+
!.env.coinbase.sample
30+
!.env.privy.sample
31+
32+
# Local-only authoring/review tooling — never part of the published tutorials.
33+
.preview_server.py
34+
REVIEW_NOTES.md

01-features/08-agents-that-transact/00-getting-started/00-setup-agentcore-payments/.env.coinbase.sample

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ AWS_REGION=us-west-2
2727

2828
# ── Coinbase CDP Credentials ─────────────────────────────────────
2929
# TUTORIAL ONLY: For local testing, store credentials in .env (git-ignored).
30-
# DEPLOYED WORKLOADS: Use AWS Secrets Manager or Systems Manager Parameter Store.
31-
# See: https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html
32-
# Get these from portal.cdp.coinbase.com (see providers/coinbase_cdp_account_setup.ipynb)
30+
# Get these from portal.cdp.coinbase.com (see providers/coinbase_cdp_account_setup.py)
3331
# API Key ID + Secret: from project API key creation
3432
# Wallet Secret: from Wallet → ServerWallet
3533
COINBASE_API_KEY_ID=<your-coinbase-api-key-id>

01-features/08-agents-that-transact/00-getting-started/00-setup-agentcore-payments/.env.privy.sample

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#
1515
# .env lives in the parent 00-getting-started/ directory, shared across all tutorials.
1616
#
17-
# Note: The Privy provider setup notebook (providers/stripe_privy_account_setup.ipynb)
17+
# Note: The Privy provider setup script (providers/stripe_privy_account_setup.py)
1818
# writes most of these values automatically via input prompts. You only need to set
1919
# AWS_REGION, NETWORK, LINKED_EMAIL, and USER_ID manually.
2020

@@ -31,10 +31,8 @@ AWS_REGION=us-west-2
3131

3232
# ── Privy Credentials ────────────────────────────────────────────
3333
# TUTORIAL ONLY: For local testing, store credentials in .env (git-ignored).
34-
# DEPLOYED WORKLOADS: Use AWS Secrets Manager or Systems Manager Parameter Store.
35-
# See: https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html
36-
# Get these from dashboard.privy.io (see providers/stripe_privy_account_setup.ipynb)
37-
# The provider notebook writes these automatically — only fill manually if skipping it.
34+
# Get these from dashboard.privy.io (see providers/stripe_privy_account_setup.py)
35+
# The provider setup script writes these automatically — only fill manually if skipping it.
3836
PRIVY_APP_ID=<your-privy-app-id>
3937
PRIVY_APP_SECRET=<your-privy-app-secret>
4038
PRIVY_AUTHORIZATION_ID=<p256-authorization-key-id>

01-features/08-agents-that-transact/00-getting-started/00-setup-agentcore-payments/.env.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@
2222
# Then fill in your credentials and email address.
2323
#
2424
# For multi-provider setup (Tutorial 07), run both provider setup
25-
# notebooks — they write prefixed keys (COINBASE_*, PRIVY_*) into
25+
# scripts — they write prefixed keys (COINBASE_*, PRIVY_*) into
2626
# the same .env without conflicts.
2727
#

01-features/08-agents-that-transact/00-getting-started/00-setup-agentcore-payments/README.md

Lines changed: 319 additions & 152 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)