> For the complete documentation index, see [llms.txt](https://apidocs.arionbanki.is/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidocs.arionbanki.is/psd2/getting-started/going-live.md).

# Going Live

## Prerequisites

Before you can go live, there are some conditions that must be met:

1. Verification of company contact email completed
2. Sandbox application created
3. Possession of a valid QWAC certificate

To learn more about the application for a QWAC certificate, you can contact <psd2@sedlabanki.is>. You can also learn more here: <https://eidas.ec.europa.eu/efda/discover/qwac>.

## Next Steps

When you have fulfilled the prerequisites, you can press the Go Live! button:

<figure><img src="https://3956606050-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0dhg8Dx3oxMg6FAZtyuC%2Fuploads%2F6qRlFzOtyPlrduZjm8KE%2Fimage.png?alt=media&amp;token=4e2b4483-5f41-451d-aaad-da543ab837fb" alt=""><figcaption></figcaption></figure>

Then you upload your QWAC certificate here:

<figure><img src="https://3956606050-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0dhg8Dx3oxMg6FAZtyuC%2Fuploads%2FwwMNsgR5r29z1x7mPa1C%2Fimage.png?alt=media&amp;token=8ac78ac9-dc0b-4a38-a32d-51b509ecb691" alt=""><figcaption></figcaption></figure>

It is recommended to upload the .cer file using the widget. However, you can also open your .cer file in a text editor and pasting the content between the BEGIN CERTIFICATE and END CERTIFICATE sections directly.

Upon uploading you will be redirected here:&#x20;

<figure><img src="https://3956606050-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0dhg8Dx3oxMg6FAZtyuC%2Fuploads%2FPmU2aDxiE957GqeaPbRh%2Fimage.png?alt=media&amp;token=7a95f080-ceef-4de2-9a8a-85a1ae1f2d13" alt=""><figcaption></figcaption></figure>

After verifying the information displayed here, you can Go Live:

<figure><img src="https://3956606050-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0dhg8Dx3oxMg6FAZtyuC%2Fuploads%2FjRij5KJWN5JIB1wMrXel%2Fimage.png?alt=media&amp;token=1046727b-792e-4450-b093-81629646efcc" alt=""><figcaption></figcaption></figure>

Here it is crucial to save the client secret in a secure place. The secret is only shared **once.**

## Authentication

To authenticate to our live services, you must first fetch a token.

### Fetching a Token

Instead of generating a token as in sandbox, now you must call our token endpoint, located here:

```
https://curity.arionbanki.is/oauth/v2/oauth-token
```

To authenticate to the token service, provide the following key-value pairs encoded as `application/x-www-form-urlencoded` data:

| Key             | Example value                          |
| --------------- | -------------------------------------- |
| `grant_type`    | `client_credentials`                   |
| `client_id`     | `00001111-aaaa-2222-bbbb-3333cccc4444` |
| `client_secret` | `~someSecret`                          |
| `scopes`        | `ais: pis:`                            |

To use the Account Information Service (AIS), provide the `ais:`  scope. To use the Payment Initiation Service (PIS), provide the `pis:`  scope.

Upon successful authentication, you will receive an opaque bearer token, resembling this: `_0XBPWQQ_aaaaaaaa-1111-2222-3333-1234567890ab` .

You can now use the token to make a request.

## Making Your First Request

To make a request, provide the same information in headers as in the sandbox, those being:

* X-Request-ID header - A valid UUID
* Ocp-Apim-Subscription-Key header - API key which you get from our Openbanking WebPortal
* PSU-IP-Address header - Valid IP Address
* Authorization header - Valid bearer token which you get from our Openbanking WebPortal

Note that the **subscription key for the production app is different from the sandbox app.** If you are making a request to the AIS, then you must first get a valid and confirmed consent. A consent is not required for the PIS.

Check out our guides to set up our sample clients to make your first request:

{% content-ref url="/pages/ZPpmyFXBpR64vSY5K4Md" %}
[Sample Clients](/psd2/api-reference/sample-clients.md)
{% endcontent-ref %}

For more detail on the API spec, look at our API Specification:

{% content-ref url="/pages/w9n9DIv3nc0xLGszvLCw" %}
[Broken mention](broken://pages/w9n9DIv3nc0xLGszvLCw)
{% endcontent-ref %}
