Setup: Overleaf Credentials - JonasEngstrom/overleaf-article-template GitHub Wiki

If you’re using a new computer—that does not have your Overleaf credentials stored—or your Overleaf access token has expired, do this before setting up a new article using the Overleaf Article Template:

  1. Log into Overleaf.

  2. Click the New Project button in the upper left-hand corner, choose Blank Project, and give it a name.

  3. Click the menu Menu in the upper left-hand corner. In the Sync section, choose Git.

  4. Copy the link in the Git authentication token section (i.e. the one containing an @ symbol).

  5. Open a terminal prompt and navigate to an empty directory.

  6. Paste the copied text and press enter. (If you get an Authentication failed error, repeat this step.)

  7. When prompted for a password, close the Clone with Git window and the left-hand side menu—by clicking twice outside the anywhere in the web browser but the window and the menu itself—and click the house icon in the upper left-hand corner of the screen to go back to the Overleaf main page.

  8. Click the Account menu in the upper right-hand corner and choose Account Settings.

  9. In the Integrations section, in the Project Synchronisation box, under Git Integration, in the Your Git authentication tokens section, click the Generate token button. (If you have previously generated access tokens, the button will have been replaced by the link Add another token, which does the same thing.)

  10. Paste the copied token into the terminal and wait for the process to finish.

  11. You can now delete both the local directory and the Overleaf project. Git saves the access token for future use.