> 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="/files/zhjc2UWgj0ae2kgmZilf" 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="/files/t71ComEp8EbvqQ986aYu" 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 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.peoplelogic.dev/guides/getting-started-with-the-composable-talent-platform/universal-talent-api/performance-management/weekdone.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.
