RSSAmplifier

Norberto Lopes Writing · Dec 15, 2023

Configuring ChatGPT in Emacs

0
Sign in to vote or save

Norberto Lopes · Norberto Lopes

First, you’ll need to install the 1Password CLI. Follow these instructions. Once you have it installed, you’ll need to login to your 1Password account. You can do this by running the following command:

$ op signin my.1password.com <email>

Once you’ve logged in, you’ll need to create a new item in 1Password. You can do this by running the following command:

$ op item create --category passwords \
    --title "OpenAI API key" \
    'password=<your API key>'

Once you’ve created the item, you’ll need its title, the name of the vault it is stored in, and your 1Password account ID. Here’s how it looks:

ID:          dwwvqrtlz5bdsdh3oihjtbomuu
Title:       OpenAI API key
Vault:       Personal (lmaicnh3f663z56c3i4563x67i)
Created:     now
Updated:     now
Favorite:    false
Version:     1
Category:    PASSWORD
Fields:
  password:    yaygpt

From the output, your title is OpenAI API key and the vault is Personal.

You can get the account ID by running the following command:

$ op account list

Read the original on nlopes.dev

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.