> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/latex/sv/kunskapsbas/085-i-have-created-a-latex-document-elsewhere-can-i-import-it-into-overleaf.md).

# Jag har skapat ett LaTeX-dokument någon annanstans – kan jag importera det till Overleaf?

Ja, det kan du. Du kan skapa ett nytt dokument och kopiera och klistra in texten från din befintliga tex-fil. Om ditt dokument innehåller flera filer kan du zipa dem och ladda upp .zip-filen med hjälp av ett av uppladdningsalternativen på din [projektöversikt](https://www.overleaf.com/dash) (se bilden nedan).

![Skapa nytt projekt från instrumentpanelen genom att ladda upp en .zip-fil](/files/547f91a199f2d470b36acc3bd8a3d35118a53459)

Alternativt kan du först skapa ett tomt projekt (eller skapa ett från en mall i galleriet). När projektredigeraren laddas klickar du på knappen “Ladda upp” högst upp i fillistan. Du kan sedan välja de filer du vill ladda upp från din dator, antingen genom att först klicka på knappen "Välj från din dator" för att öppna en filbläddrare, eller helt enkelt dra och släppa filer från din Explorer/Finder till uppladdaren. Denna animerade GIF visar hur detta kan göras:

![Ladda upp flera filer till ett projekt](/files/2cdaf9cef74c45205621637d906738db5eb7be6f)

Du kommer sannolikt också att vilja ändra projektets huvuddokument genom att klicka på Overleaf-menyns ikon ovanför panelen med fillistan.

### Kan jag använda git för att pusha ett nytt projekt?

Om du använder git kan du också [pusha dina filer med git](https://www.overleaf.com/help/230-how-do-i-push-a-new-project-to-overleaf-via-git) till ditt Overleaf-projekt.

### Finns det ett API för att ladda in nya projekt?

Du kan också använda ett av alternativen som finns på vår [utvecklarsida](https://www.overleaf.com/devs) för att importera direkt från din webbplats till Overleaf.


---

# 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://overleaf-pro.ayaka.space/latex/sv/kunskapsbas/085-i-have-created-a-latex-document-elsewhere-can-i-import-it-into-overleaf.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.
