> 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/pl/baza-wiedzy/085-i-have-created-a-latex-document-elsewhere-can-i-import-it-into-overleaf.md).

# Utworzyłem dokument LaTeX gdzie indziej — czy mogę zaimportować go do Overleaf?

Tak, możesz. Możesz utworzyć nowy dokument i skopiować oraz wkleić tekst z istniejącego pliku tex. Jeśli Twój dokument zawiera wiele plików, możesz spakować je do archiwum ZIP i przesłać plik .zip, korzystając z jednej z opcji przesyłania na swoim [pulpicie projektów](https://www.overleaf.com/dash) (zobacz obrazek poniżej).

![Utwórz nowy projekt z pulpitu, przesyłając plik .zip](/files/e5c5b52a97c4806db3c99798286913fa589081cc)

Alternatywnie możesz najpierw utworzyć pusty projekt (lub utworzyć go z szablonu w Galerii). Gdy edytor projektu się załaduje, kliknij przycisk „Upload” u góry listy plików. Następnie możesz wybrać pliki, które chcesz przesłać z komputera, klikając najpierw przycisk „Select from your computer”, aby otworzyć przeglądarkę plików, albo po prostu przeciągnąć pliki z Eksploratora/Finder do narzędzia przesyłania. Ten animowany GIF pokazuje, jak można to zrobić:

![Przesyłanie wielu plików do projektu](/files/fbfb6d051b63b9a7b284fd58fd06233db72ed7b8)

Prawdopodobnie zechcesz także zmienić główny dokument projektu, klikając ikonę menu Overleaf nad panelem listy plików.

### Czy mogę użyć gita, aby wypchnąć nowy projekt?

Jeśli używasz gita, możesz także [wypchnąć swoje pliki poleceniem git push](https://www.overleaf.com/help/230-how-do-i-push-a-new-project-to-overleaf-via-git) do swojego projektu w Overleaf.

### Czy istnieje API do wczytywania nowych projektów?

Możesz także skorzystać z jednej z opcji podanych na naszej [stronie dla deweloperów](https://www.overleaf.com/devs) aby importować bezpośrednio ze swojej witryny do 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/pl/baza-wiedzy/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.
