$
Alpaca · Paper trading
US Portfolio
- 1Sign up free at app.alpaca.markets (email only — no documents for paper trading).
- 2In the dashboard, make sure the account switcher (top-left) shows Paper.
- 3On the right side find API Keys → Generate New Keys. Copy both the Key and the Secret (the secret is shown only once).
- 4Paste them into
us-portfolio/backend/.envasALPACA_PAPER_API_KEYandALPACA_PAPER_SECRET_KEY(live keys go in theALPACA_LIVE_*lines). - 5Restart the backend, then press Check connection below.