Skip to content

Installation and Login

justin edited this page Aug 7, 2026 · 1 revision

Installation and Login

Install from npm

pi install npm:pi-meta-oauth
pi --list-models meta

Install a local checkout

git clone https://github.com/BlockedPath/pi-meta-oauth.git
pi install /absolute/path/to/pi-meta-oauth
pi --list-models meta

Sign in to Meta

Start Pi and run:

/login meta

Pi displays a device code and opens Meta's authorization page. After authorization, the extension exchanges the identity credential for a Model API key. Pi manages the resulting provider credential and re-mints the access key daily.

Do not paste credentials into issue reports, command output, or screenshots.

Confirm model access

pi --list-models meta
pi -p --provider meta --model muse-spark-1.2 "Reply exactly: META_OK"

To show only Meta models in Pi's model picker, add this to Pi's settings:

{ "enabledModels": ["meta/*"] }

Update

pi update npm:pi-meta-oauth

See Troubleshooting if login succeeds but models do not appear.

Clone this wiki locally