> For the complete documentation index, see [llms.txt](https://docs.peoplelogic.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.peoplelogic.dev/guides/getting-started-with-the-composable-talent-platform/universal-talent-api/performance-management/weekdone.md).

# Weekdone

{% hint style="info" %}
**Description:** Weekdone is Goal Alignment & Progress Reporting Made Simple with Quarterly OKRs + Weekly Updates.

**Website:** [https://weekdone.com](https://weekdone.com/)
{% endhint %}

Follow the steps below to generate a ClientID and Access Token and connect your Weekdone instance to the Universal Talent API.

1. Login to Weekdone and go to Company settings

<figure><img src="https://214419501-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJnTEn53Z4ZTCjCdmENZ2%2Fuploads%2FMHzxGSZ43qxp6od7HTDN%2Fgo-application-and-setup.png?alt=media&amp;token=df7a6e6b-4595-4c12-aaef-43034e636066" alt=""><figcaption></figcaption></figure>

2. In Settings, select Applications from the left sidebar.
3. Go to Applications and select new Application
4. Add Application name and Redirect URI (this can be anything).  Click Save or Update.  Make note of the new Client ID and Client Secret

<figure><img src="https://214419501-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJnTEn53Z4ZTCjCdmENZ2%2Fuploads%2FQiwvzEguhDKfgoVb9aYu%2Fclient_id_secret.png?alt=media&amp;token=4f714ed3-3302-475c-bba5-67f6b9b1f2b8" alt=""><figcaption></figcaption></figure>

5. Open new browser tab and browse this:

`https://weekdone.com/oauth_authorize?client_id=<YOUR_CLIENT_ID>&redirect_uri=<YOUR_REDIRECT_URI>&response_type=code&state=123`

6. Copy the code from the redirect URI that the browser sends you to\
   Example: `http://localhost:8080/?code=<YOUR_AUTH_CODE>&state=123`
7. Make a POST request to get the access token and refresh token

```http
POST https://weekdone.com/oauth_token 
Content-Type: application/x-www-form-urlencoded 

code = <YOUR_AUTH_CODE> & 
grant_type = authorization_code & 
client_id = <YOUR_CLIENT_ID> & 
client_secret = <YOUR_CLIENT_SECRET> & 
redirect_uri = <YOUR_REDIRECT_URI>
```

The response will look something like the following:

```json
{
"access_token":"<ACCESS_TOKEN>",
"refresh_token":"<REFRESH_TOKEN>",
  "token_type":"bearer",
  "expires_in":3600,
  "user":{
    "id":"<YOUR_ID>",
    "name":"<YOUR_NAME>",
    "email":"<YOUR_EMAIL>"
  }
}
```

### Connect the API to Peoplelogic.dev

Send the following request to your API endpoint and you'll start to see data start sync'ing into your Peoplelogic.dev workspace.  Remember, replace the values surrounded by `{{`  and `}}`  (including the curly brackets!) with your actual values.

```http
POST https://api.peoplelogic.dev/api/v1/app
Content-Type: application/json
Authorization: Bearer {{demoOrgToken}}

{
  "type": "pl:sync:weekdone",
  "internal": false,
  "name": "{{your organization in weekdone}}",
  "externalId": "{{your organization shortname}}-weekdone",
  "secretData": {
    "accessToken": "{{yourAccessToken}}"
  }
}
```


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.peoplelogic.dev/guides/getting-started-with-the-composable-talent-platform/universal-talent-api/performance-management/weekdone.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
