Skip to content

Commit

Permalink
Add an id
Browse files Browse the repository at this point in the history
  • Loading branch information
beckykd committed Jun 5, 2024
1 parent 511f003 commit 42a1e52
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/start/setup-channel.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Available plans:

1. Retrieve your IBM Quantum token from the [IBM Quantum account page](https://quantum.ibm.com/account).

<span id="save-account"></span>
1. Authenticate to the service by calling `QiskitRuntimeService` with your IBM Quantum API key and CRN:

```python
Expand Down Expand Up @@ -78,7 +79,7 @@ Available plans:
service = QiskitRuntimeService()
```

* If you save your credentials to disk, you can use `QiskitRuntimeService()` in the future to initialize your account. The `channel` parameter distinguishes between different account types. If you are saving multiple accounts per channel, consider using the `name` parameter to differentiate them.
* If you save your credentials to disk, you can use `QiskitRuntimeService()` in the future to initialize your account. The `channel` parameter distinguishes between different account types.
* If you are saving multiple accounts per channel, consider using the `name` parameter to differentiate them.
* Credentials are saved to `$HOME/.qiskit/qiskit-ibm.json`. Do not manually edit this file.
* If you don't save your credentials, you must specify them every time you start a new session.
Expand Down Expand Up @@ -132,6 +133,7 @@ print(result)
1. Find your API key. From the [API keys page](https://cloud.ibm.com/iam/apikeys), view or create your API key, then copy it to a secure location so you can use it for authentication.
2. Find your Cloud Resource Name (CRN). Open the [Instances page](https://cloud.ibm.com/quantum/instances) and click your instance. In the page that opens, click the icon to copy your CRN. Save it in a secure location so you can use it for authentication.

<span id="cloud-save"></span>
1. Authenticate to the service by calling `QiskitRuntimeService` with your saved credentials or with your IBM Cloud API key and CRN:

```python
Expand Down

0 comments on commit 42a1e52

Please sign in to comment.