---
title: "Cloning your Cloud Platform application into the IDE"
date: "2024-10-28T07:43:38+00:00"
summary: "Easily clone your Cloud Platform application or GitHub repository into the Cloud IDE. Follow step-by-step instructions for seamless integration, including multisite setups and SSH key configuration for secure access."
image:
type: "page"
url: "/acquia-cloud-platform/add-ons/cloud-ide/cloning-your-cloud-platform-application-ide"
id: "f1b031dd-ac46-4d60-82b1-441f1bb16dae"
---

Cloning your Cloud Platform application into the IDE
----------------------------------------------------

1.  Click **COPY FROM THE CLOUD PLATFORM** to copy your existing Cloud Platform application into the Cloud IDE.
    
    The system copies your application’s code, databases, and files into the Cloud IDE. If you have a multisite setup, the system prompts you to select the database and files directory to copy into the IDE. You must manage the `sites.php` file to configure the Drupal routing so that it matches the IDE preview URL. For more information, visit [Cloud IDE multisite FAQ](/acquia-cloud-platform/add-ons/ide/faq#ides-multisites).
    
    Note
    
    You can use `acli pull` to pull your code, database, and files from Cloud Platform. You can use optional parameters to specify the items that you do not want to refresh. Use `acli pull --help` to list all available parameters.
    

![ide_cloning-cloud-platform.png](https://acquia.widen.net/content/ea8f7c69-ea87-44c1-8478-231954390ddb/web/ide_cloning-cloud-platform.png?w=1090&itok=1gRmh2Uj)

2\. Select **Manage Drupal Application** > **Open Drupal Application** in the admin menu to view your application.

Cloning your application from a GitHub repository to your IDE
-------------------------------------------------------------

1.  Copy the contents of your IDE SSH public key at `/home/ide/.ssh/id_rsa_acquia_ide_<UUID>`. Replace the IDE SSH public key in the following example code with your own IDE SSH public key:
    
        $ cat /home/ide/.ssh/id_rsa_acquia_ide_<UUID>.pub
        ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDia6OKJKFQYmQysWWL6+bRpjfGbGHaYx3b9mdqhRxtBr9
        +q1TUUljNPX3dT6y+GsQEC4ImAhm82fPpFjEpwPGrM5+kvlk4zkLMV+TILnQXA9athf3CWPTCUQxyY9t5ZO
        wbmjRPhFeDKCVogSAjHdCoVRQfKOy1J0ffO+I7nnjVNbhMLfeL1PU1WZhyx4tBRweKX44QZA1hccrIfw0SV
        rXnJ72Gm/0SESnCaAkfnEjo8+wwyiSNfTFOfY/MrgkNjePaxTPP0LaFwoiGpfyNRNAd6w+ztfIQa34kfviT
        NCp4Us/cGrtLH6AYvrtVbIwToNdXvTPliz+D1GJYcaWlbfdwHselKDQffVbnYLbpgopWgDJjmy/ex0TG4Gv
        Qnn1CVHZayKbivuVT0sEgcWrOmyKcqpO2PlZ+W4SCpCdQZ3Tz6I0I+O9VKLF2lauKtjHkmpfOxI46YkLEA8
        6sTuK3s9cyt8irn9X/4ggV7D4PbiYdaweQMjRgQPVhLcB+dosDml750bnEGjjY1iFJwIbT69gF5zucrheIr
        zr6OarwPjwW1V314sKfszssjSYpablgYYm/8zOjowKpgf+6XS0Ug0aKePWRPUVfSdnn5fDBEr9U3K4r3cv5
        L6Ol0GIJVcfEi7Vq6OsmDxgiEfAzKdpXaHZBwacpATrawZ0DQqr58V/xCw== ide@ide-68k71c55-4155-
        4ba0-b737-13187c3c8b96-6799564b7d-rbn58
        
    
2.  Paste the SSH public key into the **Key** field on the [Add new](https://github.com/settings/ssh/new) page.
    
    ![Adding a new SSH key and entering the title of the key](https://acquia.widen.net/content/judydwo4vn/jpeg/ide_creating-ssh-keys.jpeg?position=c&color=ffffffff&quality=80&u=0b06mk)
    
3.  Clone your repository into the correct folder in the IDE.  Replacing `[your-URL.git]` in the following command with the Git URL of your repository:
    
        git clone [your-URL.git] /home/ide/project
    
    Note
    
    When pulling the code from an external Git repository, you can use `acli refresh --no-code` to pull only the database and the files from your Cloud Platform application.
    
4.  Select **Manage Drupal Application** > **Open Drupal Application** in the admin menu to view your application.