> 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/vi/co-so-tri-thuc/085-i-have-created-a-latex-document-elsewhere-can-i-import-it-into-overleaf.md).

# Tôi đã tạo một tài liệu LaTeX ở nơi khác—tôi có thể nhập nó vào Overleaf không?

Có, bạn có thể. Bạn có thể tạo một tài liệu mới và sao chép & dán văn bản từ tệp tex hiện có của bạn. Nếu tài liệu của bạn chứa nhiều tệp, bạn có thể nén chúng thành .zip và tải tệp .zip lên bằng một trong các tùy chọn tải lên trên [bảng điều khiển dự án](https://www.overleaf.com/dash) (xem hình bên dưới).

![Tạo dự án mới từ Bảng điều khiển bằng cách tải lên một tệp .zip](/files/d1a5450b435ae3ee44e2da6aa1837bb88216ffac)

Ngoài ra, trước tiên bạn có thể tạo một dự án trống (hoặc tạo một dự án từ mẫu trong Thư viện). Khi trình chỉnh sửa dự án được tải, hãy nhấp vào nút “Upload” ở đầu danh sách tệp. Sau đó bạn có thể chọn các tệp muốn tải lên từ máy tính của mình, bằng cách nhấp trước vào nút "Select from your computer" để mở trình duyệt tệp, hoặc chỉ cần kéo-thả các tệp từ Explorer/Finder của bạn vào trình tải lên. Ảnh GIF động này cho thấy cách thực hiện:

![Tải nhiều tệp lên một dự án](/files/b69301d5ab3597c263483c869474f4c17be721e7)

Có lẽ bạn cũng sẽ muốn thay đổi tài liệu chính của dự án bằng cách nhấp vào biểu tượng menu Overleaf phía trên bảng danh sách tệp.

### Tôi có thể dùng git để đẩy một dự án mới không?

Nếu bạn dùng git, bạn cũng có thể [git push các tệp của bạn](https://www.overleaf.com/help/230-how-do-i-push-a-new-project-to-overleaf-via-git) vào dự án Overleaf của bạn.

### Có API để tải các dự án mới lên không?

Bạn cũng có thể sử dụng một trong các tùy chọn được nêu trên [trang dành cho nhà phát triển](https://www.overleaf.com/devs) để nhập trực tiếp từ trang web của bạn vào 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/vi/co-so-tri-thuc/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.
