···162162We're going to use the [Agent](#todo) to fetch this record to include in our app.
163163164164```typescript
165165+await agent.getRecord({
166166+ repo: agent.accountDid, // The user
167167+ collection: 'app.bsky.actor.profile', // The collection
168168+ rkey: 'self', // The record key
169169+})
170170+```
171171+172172+When asking for a record, we provide three pieces of information.
173173+174174+- The [DID](#todo) which identifies the user,
175175+- The collection name, and
176176+- The record key
177177+178178+We'll explain the collection name shortly. Record keys are strings with [some limitations](https://atproto.com/specs/record-key#record-key-syntax) and a couple of common patterns. The `"self"` pattern is used when a collection is expected to only contain one record which describes the user.
179179+180180+Let's update our homepage to fetch this profile record:
181181+182182+```typescript
165183/** src/routes.ts **/
166184// Homepage
167185router.get(