> For the complete documentation index, see [llms.txt](https://docs.amitysolutions.com/ekoai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.amitysolutions.com/ekoai/getting-started/eko/portal/register-webapp.md).

# Register WebApp

To use Eko as an identity provider, the third party app must first register to Eko to get client\_id and client\_secret. Client\_id and client\_secret are the credentials used by a third party app to authenticate itself to Eko Auth.

To register, please log on to Admin panel

<figure><img src="https://114949873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkGjT4d6YfxBhnPZQPQSC%2Fuploads%2FNr4vs9YNrasxjCNV85yB%2FScreenshot%202568-05-28%20at%2014.22.56.png?alt=media&amp;token=64571b83-59ba-4ed4-ae2b-8c2edd060e16" alt=""><figcaption></figcaption></figure>

Once you logged on, click on "**PORTAL**" button.

<figure><img src="https://114949873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkGjT4d6YfxBhnPZQPQSC%2Fuploads%2FJYaLpqA99FWz6XjPodAk%2FScreenshot%202568-05-28%20at%2014.23.47.png?alt=media&amp;token=100f24a3-4ffb-44cc-93ac-b7c7ee9e7d92" alt=""><figcaption></figcaption></figure>

You will see a list of your third party applications. Click on "**Add New Webview**" to create a new site.

<figure><img src="https://114949873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkGjT4d6YfxBhnPZQPQSC%2Fuploads%2FhAy227hodlFsck58D6Gt%2FScreenshot%202568-05-28%20at%2014.24.19.png?alt=media&amp;token=81c0f42f-75e0-4817-9b52-31175e4eba4f" alt=""><figcaption></figcaption></figure>

You can define Name and Website url of third party web application in this page. We support only **HTTPS** sites. click on "**Select OAuth profile**" to generate the keys.

<figure><img src="https://114949873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkGjT4d6YfxBhnPZQPQSC%2Fuploads%2F3eVexWOBaAZKun0BkItK%2FScreenshot%202568-05-28%20at%2014.24.47.png?alt=media&amp;token=ce90b9e4-43e3-4bd0-868c-00b76a0fd1d8" alt=""><figcaption></figcaption></figure>

click on "**Add new oAuth client profile**" to create a new OAuth profile.

<figure><img src="https://114949873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkGjT4d6YfxBhnPZQPQSC%2Fuploads%2FkewLQPMnGL1o0T8er4iT%2FScreenshot%202568-05-28%20at%2014.25.09.png?alt=media&amp;token=221f565f-79f5-4d21-80f4-a3a7b0dad53a" alt=""><figcaption></figcaption></figure>

Put you app name and redirect url. The redirect url must be the same as the website url.

<figure><img src="https://114949873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkGjT4d6YfxBhnPZQPQSC%2Fuploads%2FWiCdHJGMCfddiUckeFvy%2FScreenshot%202568-05-28%20at%2014.25.34.png?alt=media&amp;token=8c6cc998-9ecc-4f75-ad79-6ed2eb19a4b8" alt=""><figcaption></figcaption></figure>

Once you have created the OAuth profile for the app, click on "**Select OAuth Profile**" again.

<figure><img src="https://114949873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkGjT4d6YfxBhnPZQPQSC%2Fuploads%2FgjF9MjgJ9gjndgkgFYnS%2FScreenshot%202568-05-28%20at%2014.26.06.png?alt=media&amp;token=085c7a15-922d-4105-9fb3-50e96f9c553b" alt=""><figcaption></figcaption></figure>

Select the OAuth Profile you just created.

<figure><img src="https://114949873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkGjT4d6YfxBhnPZQPQSC%2Fuploads%2FlaPSnip6N88HahpyLhlC%2FScreenshot%202568-05-28%20at%2014.26.31.png?alt=media&amp;token=d94e3159-cc2d-4a55-bcbf-be8471ebf410" alt=""><figcaption></figcaption></figure>

You can see that the OAuth profile will be shown under Authentication section. click "**Save**"

<figure><img src="https://114949873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkGjT4d6YfxBhnPZQPQSC%2Fuploads%2FmMcAz8CMbOQNZDtFuLET%2FScreenshot%202568-05-28%20at%2014.26.58.png?alt=media&amp;token=ca07e4ca-bbb1-4359-abfd-b9a0660c0b45" alt=""><figcaption></figcaption></figure>

Click on the site again.

<figure><img src="https://114949873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkGjT4d6YfxBhnPZQPQSC%2Fuploads%2FGutVc5YZKBYalym8mtCL%2FScreenshot%202568-05-28%20at%2014.27.22.png?alt=media&amp;token=ac1e9c09-1536-4d25-8784-fea8f83c9436" alt=""><figcaption></figcaption></figure>

You will see the Client\_ID and Client\_Secret that can be used for authentication.

<figure><img src="https://114949873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkGjT4d6YfxBhnPZQPQSC%2Fuploads%2FWRZKEiw69UYZAE9EeZMC%2FScreenshot%202568-05-28%20at%2014.27.40.png?alt=media&amp;token=682871a0-7a76-4aea-a085-5d0c1d5f0996" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.amitysolutions.com/ekoai/getting-started/eko/portal/register-webapp.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
