# What we want to accomplish
Create two test accounts and create a contact for each.
Add, update, and retrieve Contact A data from App A
Add, update, and retrieve Contact B data from App B
We would like to manipulate Contact data from different applications as shown in the following example.
# Situation
I created a test account from a developer account and am trying to retrieve Contact in the test account using @hubspot/api-client, but I get an authentication error.
export class SearchContactService {
private client: Client;
constructor() {
this.client = new Client({
accessToken: process.env.HUBSPOT_ACCESS_TOKEN,
});
}
}
I have set the access token to a personal access key issued in the test account, but the authentication error persists.
Also, setting the developer API key (na2-xxxxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) for the developer account did not resolve the issue.
Is there any solution?
Is there a wrong way to get the access key?