The bmannconsulting.com website
1---
2link: https://whtwnd.com/bnewbold.net/entries/Migrating%20PDS%20Account%20with%20%60goat%60
3author:
4 - Bryan Newbold
5published: 2024-10-02
6tags:
7 - ATProtocol
8 - pds
9---
10[[Bryan Newbold]]'s write up on how to move your [[ATProtocol]] account between [[PDS]].
11
12The entire meat of the article is, install [goat](https://github.com/bluesky-social/indigo/tree/main/cmd/goat):
13
14```shell
15go install github.com/bluesky-social/indigo/cmd/goat@latest
16```
17
18And then run three commands:
19
201: Login to your old account
21
22```shell
23goat account login -u $OLDHANDLE -p $OLDPASSWORD
24```
25
262: Request a verification token from your current PDS.
27
28```shell
29goat account plc request-token
30```
31
323: Run the migrate command
33
34```shell
35goat account migrate \
36 --pds-host $NEWPDSHOST \
37 --new-handle $NEWHANDLE \
38 --new-password $NEWPASSWORD \
39 --new-email $NEWEMAIL \
40 --plc-token $NEWPLCTOKEN \
41 --invite-code $INVITECODE
42```
43
44The article has more details on manual migrations if things go wrong.