0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Salesforce CLIの使用を認証する

Last updated at Posted at 2025-04-21

前置き

Salesforceの設定を管理画面からポチポチやりたかったが、Salesforce CLIでごりごり設定しないと対応できない機能があり、渋々やったメモです。

Salesforce CLIをインストール

ここからインストーラをダウンロードします。

今回はWindows版をインストールしました。
インストールしたらコマンドプロンプトを開いてバージョンを確認します。

cd C:¥Program Files¥sf¥client¥bin
sf version

Salesforce CLIの認証

以下コマンドでSalesforce CLIを使用するために認証を行います。

sf org login web -r https://test.salesforce.com -a エイリアス名

ブラウザが開くので、ユーザ名とパスワードを入力して、アクセスを許可します。

認証の確認は以下コマンドが正常に表示されていればOKです。

sf org list
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?